Initial commit
This commit is contained in:
7
functions/_tide_parent_dirs.fish
Normal file
7
functions/_tide_parent_dirs.fish
Normal file
@@ -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
|
Reference in New Issue
Block a user