1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 10:46:15 +08:00

add git difftool alias (gdt)

This commit is contained in:
AJ Henriques 2014-08-31 20:30:42 -07:00
parent 23bbf3cc2b
commit f0d5cfdc33

View File

@ -18,6 +18,7 @@ compdef _git gp=git-push
alias gd='git diff' 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 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'