aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-14 10:48:14 +0300
committerChristo Kotze <onaforeignshore@hotmail.co.uk>2018-02-14 10:48:14 +0300
commit7cca0876e241620199fa1c55c20164af952e310a (patch)
tree1955d06a7ca68dca4297673eb11389a4292d5b2f
parent536549ea6231dd1fb15077de6e90abd1809eff04 (diff)
Fixed = instead of == inside [[]] line 865
Missed an = inside the test for highlighting the last dir of the working directory. Travis should work now *fingers crossed*
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 4f313418..4de1fd94 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -862,7 +862,7 @@ prompt_dir() {
fi
local bld dir_state_foreground dir_state_user_foreground
- [[ "${(L)POWERLEVEL9K_DIR_PATH_HIGHLIGHT_BOLD}" = "true" ]] && bld="%B" || bld=""
+ [[ "${(L)POWERLEVEL9K_DIR_PATH_HIGHLIGHT_BOLD}" == "true" ]] && bld="%B" || bld=""
local dir_state_user_foreground=POWERLEVEL9K_DIR_${current_state}_FOREGROUND
local dir_state_foreground=${(P)dir_state_user_foreground}