diff --git a/bashrc b/bashrc index 9565a6d..061c273 100644 --- a/bashrc +++ b/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