1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-19 05:51:57 +00:00

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*
This commit is contained in:
Christo Kotze 2018-02-14 11:48:14 +04:00
parent 536549ea62
commit 7cca0876e2

View file

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