work others fixes

This commit is contained in:
Quentin Godefroid 2018-06-15 12:06:05 +02:00
parent bb68ddcc34
commit 3b2ae162b8
3 changed files with 19 additions and 12 deletions

View file

@ -1,14 +1,16 @@
[user]
{{if eq .Env.USER "qgodefro"}}
name = "Quentin Godefroid"
email = "quentin.godefroid@corp.ovh.com"
name = "Quentin Godefroid"
email = "quentin.godefroid@corp.ovh.com"
{{else if eq .Env.USER "quentin"}}
name = "Quentin Godefroid"
email = "quentin.git@godefroid.eu"
name = "Quentin Godefroid"
email = "quentin.git@godefroid.eu"
{{else}}
name = "Hactarus"
email = "hactarus.git@cresi.be"
name = "Hactarus"
email = "hactarus.git@cresi.be"
{{end}}
[alias]
pushdev = !git push --set-upstream origin "`git branch --no-color 2>/dev/null | grep '*' | sed -e 's/\\* //'`:dev/{{ .Env.USER }}/`git branch --no-color 2>/dev/null | grep '*' | sed -e 's/\\* //'`"
pushdev = !git push --set-upstream origin "`git branch --no-color 2>/dev/null | grep '*' | sed -e 's/\\* //'`:dev/{{ .Env.USER }}/`git branch --no-color 2>/dev/null | grep '*' | sed -e 's/\\* //'`"
[push]
default = simple

View file

@ -12,7 +12,7 @@ set constantshow
# set fill -4
# set historylog
# set justifytrim
set linenumbers
# set linenumbers
# set locking
set matchbrackets "(<[{)>]}"
# set morespace
@ -49,14 +49,14 @@ set tabsize 4
# set wordchars "<_>."
set titlecolor brightwhite,blue
set statuscolor brightwhite,green
set selectedcolor brightwhite,magenta
set numbercolor cyan
#set selectedcolor brightwhite,magenta
#set numbercolor cyan
set keycolor cyan
set functioncolor green
set titlecolor brightwhite,red
set statuscolor brightwhite,red
set selectedcolor brightwhite,cyan
set numbercolor magenta
#set selectedcolor brightwhite,cyan
#set numbercolor magenta
# set keycolor brightmagenta
# set functioncolor magenta
include "/usr/share/nano/*.nanorc"
@ -64,3 +64,4 @@ include "/usr/share/nano/*.nanorc"
# bind M-B cutwordleft main
# bind M-N cutwordright main
# bind Del backspace all
set nonewlines

View file

@ -268,6 +268,10 @@ tmux
#zsh_reload
)
zstyle :omz:plugins:ssh-agent agent-forwarding on
zstyle :omz:plugins:ssh-agent identities id_ed25519 work_201806 auberge
zstyle :omz:plugins:ssh-agent lifetime 4h
source $ZSH/oh-my-zsh.sh
# User configuration