mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Adds gds alias for "git diff --staged"
This commit is contained in:
parent
bc97674509
commit
cec6a9c6da
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
|
||||||
alias gd='git diff'
|
alias gd='git diff'
|
||||||
compdef _git gd=git-diff
|
compdef _git gd=git-diff
|
||||||
|
alias gds='git diff --staged'
|
||||||
|
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 gc='git commit -v'
|
alias gc='git commit -v'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue