diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2017-02-04 10:51:52 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2017-02-04 10:51:52 +0300 |
commit | a8af89eeb7db3980f9bef14a96828fc8c8bdb854 (patch) | |
tree | 6608631ff8673217712ccb26c505edee9fb6cabe | |
parent | 268c3247c95eb11c92054465404e37d8877c0f5d (diff) |
Fix default dir truncation strategy
-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 3e529b3b..37bdbbb8 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -611,7 +611,7 @@ prompt_dir() { fi ;; *) - current_path="%$((POWERLEVEL9K_SHORTEN_DIR_LENGTH+1))(c:$POWERLEVEL9K_SHORTEN_DELIMITER/:)%${POWERLEVEL9K_SHORTEN_DIR_LENGTH}c" + current_path="$(print -P "%$((POWERLEVEL9K_SHORTEN_DIR_LENGTH+1))(c:$POWERLEVEL9K_SHORTEN_DELIMITER/:)%${POWERLEVEL9K_SHORTEN_DIR_LENGTH}c")" ;; esac fi |