aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-05-08 07:20:40 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-05-08 07:23:17 +0300
commitca114f250863f0725e66049d7b74af2e9ea52655 (patch)
treeff66015029db59b02b24227b4811ffc4aca6082d /internal
parent541d573551ad4a9103098ddc7e6f116636b7030d (diff)
work around more zsh bugs w.r.t. SIGWINCH; see #694
Diffstat (limited to 'internal')
-rw-r--r--internal/p10k.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index adf6127d..e34f48ea 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -6171,6 +6171,8 @@ function _p9k_restore_special_params() {
}
function _p9k_on_expand() {
+ (( _p9k__expanded && ! ${+__p9k_instant_prompt_active} )) && [[ "${langinfo[CODESET]}" == (utf|UTF)(-|)8 ]] && return
+
eval "$__p9k_intro_no_locale"
if [[ $langinfo[CODESET] != (utf|UTF)(-|)8 ]]; then