aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-11 06:53:09 +0300
committerChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-11 06:53:09 +0300
commite644ad640e41f9023096e80a77191bab9e5792d6 (patch)
tree3e499a963610d42d5ac6719870014a4674d2d58e /powerlevel9k.zsh-theme
parent1949fa7b9ee0e9663eb845b964ae77c851d1fd6e (diff)
Changed testing for bold last dir
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 0a2d4cd8..3681fbbf 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -862,7 +862,7 @@ prompt_dir() {
fi
local bd dir_state_foreground dir_state_user_foreground
- [[ -n "${POWERLEVEL9K_DIR_PATH_HIGHLIGHT_BOLD}" ]] && bd="%B" || bd=""
+ [[ "${(L)POWERLEVEL9K_DIR_PATH_HIGHLIGHT_BOLD}" = "true" ]] && bd="%B" || bd=""
local dir_state_user_foreground="POWERLEVEL9K_DIR_${current_state}_FOREGROUND"
local dir_state_foreground="${(P)dir_state_user_foreground}"