diff options
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 6c852828..a24ddeb5 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -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 |