From 6afc52c6bf49429b6816b1de39ff5c160c6c8ab6 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Wed, 16 Apr 2025 19:10:12 -0400 Subject: [PATCH] AutoYADM commit: 2025-04-16 19:10:12 --- .config/fish/functions/gcd.fish | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .config/fish/functions/gcd.fish 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