zshrc: fix groot alias to not occasionally go to homedir instead of a repo root

master
Von Random 1 year ago
parent 2fe453963f
commit d1bcefc022
  1. 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…
Cancel
Save