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:
parent
1949fa7b9e
commit
e644ad640e
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue