fish: permissions
This commit is contained in:
parent
1ec56b52e5
commit
2be735284e
31 changed files with 0 additions and 0 deletions
|
@ -1,6 +0,0 @@
|
|||
function groot
|
||||
set -l is_git_worktree (command git rev-parse --is-inside-work-tree)
|
||||
string match -qe 'true' "$is_git_worktree" || return
|
||||
set -l root (command git rev-parse --show-toplevel)
|
||||
test $status -eq 0 && cd $root
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue