dotfiles/.config/fish/functions/gcd.fish

3 lines
107 B
Fish

function gcd --description 'cd to the root of current git repo'
cd (git rev-parse --show-toplevel)
end