From abf981cc85f25a65dd1e2b276b105f895d908d4a Mon Sep 17 00:00:00 2001 From: Bruno Carlin Date: Tue, 11 Feb 2025 15:23:05 +0100 Subject: [PATCH] feat(fish): add a function to change directory to the output of workon --- fish/.config/fish/functions/w.fish | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 fish/.config/fish/functions/w.fish diff --git a/fish/.config/fish/functions/w.fish b/fish/.config/fish/functions/w.fish new file mode 100644 index 0000000..670810b --- /dev/null +++ b/fish/.config/fish/functions/w.fish @@ -0,0 +1,6 @@ +function w + set -l out (workon $argv) + if test "$status" -eq 0 + cd $out + end +end