aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-05-19 12:59:50 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-05-19 12:59:50 +0300
commit15e7d740877f17732de0723f50761556d55caa1b (patch)
tree070cadbce8eb58b0971456da6b9f0410cc32b922
parent5fb888cda95b34f279c61037e8c989949d5f39ff (diff)
cleanup
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index a24ddeb5..7b540272 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -895,7 +895,7 @@ prompt_dir() {
fi
;;
truncate_to_unique)
- local parent="${PWD%/${(pj./.)parts[2,-1]}}" dir
+ local parent="${PWD%/${(pj./.)parts[2,-1]}}" dir=''
local -i i=2
for (( ; i < $#parts; ++i )); do
local dir=$parts[i]