Minor edits

This commit is contained in:
Ilan Cosman 2021-12-14 13:40:26 -08:00
parent 2b0696b087
commit 7bc701c8b6

View File

@ -31,10 +31,8 @@ function _tide_pwd
test (count $parent_dir/$trunc*/) != 1
math $trunc_len+1 | read trunc_len
end
if test -n "$trunc"
set split_output[$i] $_tide_color_truncated_dirs$trunc$_tide_reset_to_color_dirs
test -n "$trunc" && set split_output[$i] $_tide_color_truncated_dirs$trunc$_tide_reset_to_color_dirs &&
string join / $split_output | string length --visible | read -g pwd_length
end
end
end