mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
parent
92ee30e7be
commit
81266ba5ad
1 changed files with 4 additions and 0 deletions
|
|
@ -47,6 +47,8 @@ alias gst='git status'
|
||||||
compdef _git gst=git-status
|
compdef _git gst=git-status
|
||||||
alias gss='git status -s'
|
alias gss='git status -s'
|
||||||
compdef _git gss=git-status
|
compdef _git gss=git-status
|
||||||
|
alias gsb='git status -sb'
|
||||||
|
compdef _git gsb=git-status
|
||||||
# Diff
|
# Diff
|
||||||
alias gd='git diff'
|
alias gd='git diff'
|
||||||
compdef _git gd=git-diff
|
compdef _git gd=git-diff
|
||||||
|
|
@ -54,6 +56,8 @@ alias gdc='git diff --cached'
|
||||||
compdef _git gdc=git-diff
|
compdef _git gdc=git-diff
|
||||||
gdv() { git diff -w "$@" | view - }
|
gdv() { git diff -w "$@" | view - }
|
||||||
compdef _git gdv=git-diff
|
compdef _git gdv=git-diff
|
||||||
|
alias gdw='git diff --word-diff'
|
||||||
|
compdef _git gdw=git-diff
|
||||||
alias gbl='git blame -b -w'
|
alias gbl='git blame -b -w'
|
||||||
compdef _git gbl=git-blame
|
compdef _git gbl=git-blame
|
||||||
# Pull
|
# Pull
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue