Merge remote-tracking branch 'plalloni/master'

This commit is contained in:
Pablo Lalloni 2013-06-01 19:43:38 -03:00
commit fbda3cdedc
2 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,7 @@
if [[ "$DISABLE_CORRECTION" == "true" ]]; then if [[ "$DISABLE_CORRECTION" == "true" ]]; then
return return
else else
setopt correct_all setopt correct
alias man='nocorrect man' alias man='nocorrect man'
alias mv='nocorrect mv' alias mv='nocorrect mv'
alias mysql='nocorrect mysql' alias mysql='nocorrect mysql'

View file

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