From 7cca0876e241620199fa1c55c20164af952e310a Mon Sep 17 00:00:00 2001 From: Christo Kotze Date: Wed, 14 Feb 2018 11:48:14 +0400 Subject: [PATCH] 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* --- powerlevel9k.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}