mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 14:24:22 +08:00
add git difftool alias (gdt)
This commit is contained in:
1 parent
23bbf3cc2b
commit
f0d5cfdc33
1 file changed
+1
@@ -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'
|
||||||
|
|||||||
Reference in new issue
Block a user