bash: add git aliases

This commit is contained in:
Gabriel Ebner 2015-09-20 09:22:44 +02:00
parent 15609c20cd
commit fe60d0a7a2

7
bashrc

@ -22,3 +22,10 @@ shopt -s autocd
for i in /etc/profile.d/bash-completion /etc/bash_completion; do
test -f $i && . $i && break
done
alias gl='git pull'
alias gp='git push'
if type -t __git_complete >/dev/null; then
__git_complete gl _git_pull
__git_complete gp _git_push
fi