zsh: add git switch alias
This commit is contained in:
parent
469f9049be
commit
cc85564a7b
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ gsi() { tig status }
|
||||||
gci() { command git commit $@ }
|
gci() { command git commit $@ }
|
||||||
gsl() { command git stash list $@ }
|
gsl() { command git stash list $@ }
|
||||||
gss() { command git status -sbu $@ }
|
gss() { command git status -sbu $@ }
|
||||||
|
gsw() { command git switch $@ }
|
||||||
gup() { command git pull $@ }
|
gup() { command git pull $@ }
|
||||||
groot() { cd $(command git rev-parse --show-toplevel) || return 1 }
|
groot() { cd $(command git rev-parse --show-toplevel) || return 1 }
|
||||||
ggrep() { command git grep $@ }
|
ggrep() { command git grep $@ }
|
||||||
|
|
Loading…
Reference in a new issue