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:
parent
23bbf3cc2b
commit
f0d5cfdc33
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user