mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Merge 4c18b83121 into 140034605e
This commit is contained in:
commit
d5e94214dc
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,8 @@ alias g='git'
|
||||||
compdef g=git
|
compdef g=git
|
||||||
alias gst='git status'
|
alias gst='git status'
|
||||||
compdef _git gst=git-status
|
compdef _git gst=git-status
|
||||||
alias gd='git diff'
|
alias gd='git diff --color'
|
||||||
|
alias gdcac='git diff --cached'
|
||||||
compdef _git gd=git-diff
|
compdef _git gd=git-diff
|
||||||
alias gdc='git diff --cached'
|
alias gdc='git diff --cached'
|
||||||
compdef _git gdc=git-diff
|
compdef _git gdc=git-diff
|
||||||
|
|
@ -15,7 +16,6 @@ alias gup='git pull --rebase'
|
||||||
compdef _git gup=git-fetch
|
compdef _git gup=git-fetch
|
||||||
alias gp='git push'
|
alias gp='git push'
|
||||||
compdef _git gp=git-push
|
compdef _git gp=git-push
|
||||||
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 gdt='git difftool'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue