Fix gdv alias in git plugin

git-diff doesn't work (perhaps it worked on old git versions)
This commit is contained in:
Loïc Yhuel 2011-07-24 20:54:20 +02:00
commit c2148ec24a

View file

@ -9,7 +9,7 @@ alias gup='git fetch && git 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
gdv() { git-diff -w "$@" | view - } gdv() { git diff -w "$@" | view - }
compdef _git gdv=git-diff compdef _git gdv=git-diff
alias gc='git commit -v' alias gc='git commit -v'
compdef _git gc=git-commit compdef _git gc=git-commit