@ -897,7 +897,7 @@ prompt_dir() {
truncate_to_unique)
local parent="${PWD%/${(pj./.)parts[2,-1]}}" dir
local -i i=2
for (( ; i <= $#parts; ++i )); do
for (( ; i < $#parts; ++i )); do
local dir=$parts[i]
local -i j=1
for (( ; j <= $#dir; ++j )); do