mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
11 lines
259 B
Fish
11 lines
259 B
Fish
function _tide_parent_dirs --on-variable PWD
|
|
set -g _tide_parent_dirs (
|
|
string escape (
|
|
for dir in (string split / -- $PWD)
|
|
set -fa parts $dir
|
|
string join / -- $parts
|
|
end
|
|
)
|
|
)
|
|
end
|