diff --git a/.config/fish/functions/gcd.fish b/.config/fish/functions/gcd.fish new file mode 100644 index 00000000..b25baad5 --- /dev/null +++ b/.config/fish/functions/gcd.fish @@ -0,0 +1,3 @@ +function gcd --description 'cd to the root of current git repo' + cd (git rev-parse --show-toplevel) +end