mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-25 13:30:07 +00:00
rename many _p9k_ vars to _p9k__; trigger state dump when timewarrior and asdf caches change
This commit is contained in:
parent
b6cf0cf9ec
commit
f01c200e98
3 changed files with 828 additions and 814 deletions
|
@ -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=
|
||||||
|
|
1634
internal/p10k.zsh
1634
internal/p10k.zsh
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…
Reference in a new issue