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*
pull/22/head
Christo Kotze 7 years ago
parent 536549ea62
commit 7cca0876e2

@ -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}

Loading…
Cancel
Save