.dotfiles/.config/fish/functions/grt.fish

4 lines
127 B
Fish
Raw Normal View History

2024-10-21 20:46:27 +03:00
function grt -d "cd into the top of the current repository or submodule"
cd (git rev-parse --show-toplevel; or echo ".")
end