1
0
Fork 0
vdotfiles/cli/.config/fish/functions/groot.fish

4 lines
110 B
Fish

function groot
set -l root (command git rev-parse --show-toplevel)
test $status -eq 0 && cd $root
end