[#77] Use the gwD/giD aliases for Git word diff

This commit is contained in:
Sorin Ionescu 2012-03-30 12:00:14 -04:00
parent 5883889646
commit 39f8602c63

View file

@ -86,7 +86,7 @@ alias giu='git add --update'
compdef _git giu=git-add
alias gid='git diff --no-ext-diff --cached'
compdef _git gid=git-diff
function giD { git diff --no-ext-diff --cached --ignore-all-space "$@" | view - }
alias giD='git diff --no-ext-diff --cached --word-diff'
compdef _git giD=git-diff
alias gir='git reset'
compdef _git gir=git-reset
@ -235,7 +235,7 @@ alias gwS='git status'
compdef _git gwS=git-status
alias gwd='git diff --no-ext-diff'
compdef _git gwd=git-diff
function gwD { git diff --no-ext-diff --ignore-all-space "$@" | view - }
alias gwD='git diff --no-ext-diff --word-diff'
compdef _git gwD=git-diff
alias gwr='git reset --soft'
compdef _git gwr=git-reset