From 3913586f678437d6de80bc96c8eea0e1e69a51ac Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Wed, 5 Jul 2023 17:05:39 -0300 Subject: Updated tide --- .config/fish/functions/_tide_parent_dirs.fish | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .config/fish/functions/_tide_parent_dirs.fish (limited to '.config/fish/functions/_tide_parent_dirs.fish') diff --git a/.config/fish/functions/_tide_parent_dirs.fish b/.config/fish/functions/_tide_parent_dirs.fish new file mode 100644 index 00000000..9f31b043 --- /dev/null +++ b/.config/fish/functions/_tide_parent_dirs.fish @@ -0,0 +1,7 @@ +function _tide_parent_dirs --on-variable PWD + set -g _tide_parent_dirs (string escape ( + for dir in (string split / -- $PWD) + set -la parts $dir + string join / -- $parts + end)) +end -- cgit v1.2.3