mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-12 19:18:28 +02:00
Changed testing for bold last dir
This commit is contained in:
parent
1949fa7b9e
commit
e644ad640e
@ -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 New Issue
Block a user