mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 17:36:10 -05:00
7 lines
220 B
Fish
7 lines
220 B
Fish
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
|