This commit is contained in:
UncleBill 2015-05-01 15:54:34 +00:00
commit d5e94214dc

View file

@ -3,7 +3,8 @@ alias g='git'
compdef g=git compdef g=git
alias gst='git status' alias gst='git status'
compdef _git gst=git-status compdef _git gst=git-status
alias gd='git diff' alias gd='git diff --color'
alias gdcac='git diff --cached'
compdef _git gd=git-diff compdef _git gd=git-diff
alias gdc='git diff --cached' alias gdc='git diff --cached'
compdef _git gdc=git-diff compdef _git gdc=git-diff
@ -15,7 +16,6 @@ alias gup='git pull --rebase'
compdef _git gup=git-fetch compdef _git gup=git-fetch
alias gp='git push' alias gp='git push'
compdef _git gp=git-push compdef _git gp=git-push
alias gd='git diff'
gdv() { git diff -w "$@" | view - } gdv() { git diff -w "$@" | view - }
compdef _git gdv=git-diff compdef _git gdv=git-diff
alias gdt='git difftool' alias gdt='git difftool'