zshrc: fix groot alias to not occasionally go to homedir instead of a repo root
This commit is contained in:
parent
2fe453963f
commit
d1bcefc022
1 changed files with 1 additions and 1 deletions
2
zshrc
2
zshrc
|
@ -169,7 +169,7 @@ gci() { command git commit $@ }
|
|||
gsl() { command git stash list $@ }
|
||||
gss() { command git status -sbu $@ }
|
||||
gup() { command git pull $@ }
|
||||
groot() { cd $(command git rev-parse --show-cdup) || return 1 }
|
||||
groot() { cd $(command git rev-parse --show-toplevel) || return 1 }
|
||||
ggrep() { command git grep $@ }
|
||||
gsi() { command tig status }
|
||||
|
||||
|
|
Loading…
Reference in a new issue