2 parents 8f123ee + 6f5e08a commit ce301f2Copy full SHA for ce301f2
1 file changed
functions/_tide_parent_dirs.fish
@@ -1,7 +1,10 @@
1
function _tide_parent_dirs --on-variable PWD
2
- set -g _tide_parent_dirs (string escape (
3
- for dir in (string split / -- $PWD)
4
- set -la parts $dir
5
- string join / -- $parts
6
- end))
+ set -g _tide_parent_dirs (
+ string escape (
+ for dir in (string split / -- $PWD)
+ set -fa parts $dir
+ string join / -- $parts
7
+ end
8
+ )
9
10
end
0 commit comments