mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-16 02:27:03 +01:00
added git-diff like a boss
This commit is contained in:
parent
4f4184b564
commit
3ce6325bb3
1 changed files with 2 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ alias gp='git push'
|
||||||
compdef _git gp=git-push
|
compdef _git gp=git-push
|
||||||
gdv() { git diff -w "$@" | view - }
|
gdv() { git diff -w "$@" | view - }
|
||||||
compdef _git gdv=git-diff
|
compdef _git gdv=git-diff
|
||||||
|
alias gd='git diff'
|
||||||
|
compdef _git gd=git-diff
|
||||||
alias gc='git commit -v'
|
alias gc='git commit -v'
|
||||||
compdef _git gc=git-commit
|
compdef _git gc=git-commit
|
||||||
alias gca='git commit -v -a'
|
alias gca='git commit -v -a'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue