Don't anchor if tide_pwd_markers is empty

This commit is contained in:
Ilan Cosman 2021-11-25 10:51:31 -08:00
parent a6887068a7
commit 49fd438267

View File

@ -22,7 +22,7 @@ function _tide_pwd
math $i+1 | read i
if for marker in $tide_pwd_markers # Returns true if any markers exist in dir_section
if false || for marker in $tide_pwd_markers # false is for if tide_pwd_markers is empty
test -e $parent_dir/$dir_section/$marker && break
end
set split_output[$i] $_tide_color_anchors$dir_section$_tide_reset_to_color_dirs