rename many _p9k_ vars to _p9k__; trigger state dump when timewarrior and asdf caches change

pull/501/head
romkatv 5 years ago
parent b6cf0cf9ec
commit f01c200e98

@ -1,8 +1,8 @@
typeset -gA icons typeset -gA icons
function _p9k_init_icons() { function _p9k_init_icons() {
[[ $+_p9k_icon_mode == 1 && $_p9k_icon_mode == $POWERLEVEL9K_MODE/$POWERLEVEL9K_LEGACY_ICON_SPACING ]] && return [[ $+_p9k__icon_mode == 1 && $_p9k__icon_mode == $POWERLEVEL9K_MODE/$POWERLEVEL9K_LEGACY_ICON_SPACING ]] && return
typeset -g _p9k_icon_mode=$POWERLEVEL9K_MODE/$POWERLEVEL9K_LEGACY_ICON_SPACING typeset -g _p9k__icon_mode=$POWERLEVEL9K_MODE/$POWERLEVEL9K_LEGACY_ICON_SPACING
if [[ $POWERLEVEL9K_LEGACY_ICON_SPACING == true ]]; then if [[ $POWERLEVEL9K_LEGACY_ICON_SPACING == true ]]; then
local s= local s=

File diff suppressed because it is too large Load Diff

@ -158,9 +158,9 @@ function _p9k_worker_receive() {
done done
if (( max_reset == 2 )); then if (( max_reset == 2 )); then
_p9k_refresh_reason=worker _p9k__refresh_reason=worker
_p9k_set_prompt _p9k_set_prompt
_p9k_refresh_reason='' _p9k__refresh_reason=''
fi fi
(( max_reset )) && _p9k_reset_prompt (( max_reset )) && _p9k_reset_prompt
return 0 return 0

Loading…
Cancel
Save