mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
add a workaround for old buggy purepower configs
This commit is contained in:
parent
f9801b339e
commit
d1e5fd27ee
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ _p9k_cache_get() {
|
|||
_p9k_get_icon() {
|
||||
local var_name=POWERLEVEL9K_$1
|
||||
_P9K_RETVAL=${(g::)${${(P)var_name}-$icons[$1]}}
|
||||
[[ $_P9K_RETVAL != $'\b'? ]] || _P9K_RETVAL="%{$_P9K_RETVAL%}" # penance for past sins
|
||||
}
|
||||
|
||||
typeset -ga _P9K_LEFT_JOIN=(1)
|
||||
|
|
Loading…
Reference in a new issue