1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00

Changed testing for bold last dir

This commit is contained in:
Christo Kotze 2018-02-11 07:53:09 +04:00
parent 1949fa7b9e
commit e644ad640e

View file

@ -862,7 +862,7 @@ prompt_dir() {
fi
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_foreground="${(P)dir_state_user_foreground}"