diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-11-06 12:32:10 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-11-06 12:32:10 +0300 |
commit | ba751e13db8f70a2d17c73201f240e6561d9caed (patch) | |
tree | 4cb3cb05451bd24e26e952514f672533fb76fa0c /internal/p10k.zsh | |
parent | 10d03863c425e27fadf541d41139e5210c56bc7c (diff) |
add POWERLEVEL9K_DISABLE_HOT_RELOAD
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 25bb4e90..5c63def1 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -4574,6 +4574,7 @@ _p9k_init_params() { _p9k_declare -s POWERLEVEL9K_TRANSIENT_PROMPT off [[ $_POWERLEVEL9K_TRANSIENT_PROMPT == (off|always|same-dir) ]] || _POWERLEVEL9K_TRANSIENT_PROMPT=off + _p9k_declare -b POWERLEVEL9K_DISABLE_HOT_RELOAD 0 _p9k_declare -F POWERLEVEL9K_NEW_TTY_MAX_AGE_SECONDS 5 _p9k_declare -i POWERLEVEL9K_INSTANT_PROMPT_COMMAND_LINES 1 _p9k_declare -a POWERLEVEL9K_LEFT_PROMPT_ELEMENTS -- context dir vcs @@ -5247,6 +5248,7 @@ _p9k_init_ssh() { } _p9k_must_init() { + (( _POWERLEVEL9K_DISABLE_HOT_RELOAD )) && return 1 local IFS sig if [[ -n $_p9k__param_sig ]]; then IFS=$'\2' sig="${(e)_p9k__param_pat}" |