1
0
Fork 0

zsh: add git switch alias

This commit is contained in:
Von Random 2022-10-25 12:53:28 +03:00
parent 469f9049be
commit cc85564a7b

View file

@ -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 $@ }