Adds gds alias for "git diff --staged"

This commit is contained in:
Pablo Lalloni 2013-01-17 08:15:04 -03:00
commit cec6a9c6da

View file

@ -11,6 +11,8 @@ alias gp='git push'
compdef _git gp=git-push
alias gd='git diff'
compdef _git gd=git-diff
alias gds='git diff --staged'
compdef _git gds=git-diff
gdv() { git diff -w "$@" | view - }
compdef _git gdv=git-diff
alias gc='git commit -v'