mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-10-06 03:26:21 +00:00
rename many _p9k_ vars to _p9k__; trigger state dump when timewarrior and asdf caches change
This commit is contained in:
1 parent
b6cf0cf9ec
commit
f01c200e98
3 files changed
+828
-814
No files matched your search
+2
-2
@@ -1,8 +1,8 @@
|
||||
typeset -gA icons
|
||||
|
||||
function _p9k_init_icons() {
|
||||
[[ $+_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
|
||||
[[ $+_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
|
||||
|
||||
if [[ $POWERLEVEL9K_LEGACY_ICON_SPACING == true ]]; then
|
||||
local s=
|
||||
|
||||
+824
-810
File diff suppressed because it is too large.
Load diff
+2
-2
@@ -158,9 +158,9 @@ function _p9k_worker_receive() {
|
||||
done
|
||||
|
||||
if (( max_reset == 2 )); then
|
||||
_p9k_refresh_reason=worker
|
||||
_p9k__refresh_reason=worker
|
||||
_p9k_set_prompt
|
||||
_p9k_refresh_reason=''
|
||||
_p9k__refresh_reason=''
|
||||
fi
|
||||
(( max_reset )) && _p9k_reset_prompt
|
||||
return 0
|
||||
|
||||
Reference in new issue
Block a user