Changed testing for bold last dir

pull/22/head
Christo Kotze 7 years ago
parent 1949fa7b9e
commit e644ad640e

@ -862,7 +862,7 @@ prompt_dir() {
fi fi
local bd dir_state_foreground dir_state_user_foreground 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_user_foreground="POWERLEVEL9K_DIR_${current_state}_FOREGROUND"
local dir_state_foreground="${(P)dir_state_user_foreground}" local dir_state_foreground="${(P)dir_state_user_foreground}"

Loading…
Cancel
Save