aboutsummaryrefslogtreecommitdiff
path: root/internal/wizard.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/wizard.zsh')
-rwxr-xr-xinternal/wizard.zsh5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index b2f2f7c4..dcae09ef 100755
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -1763,6 +1763,11 @@ function ask_zshrc_edit() {
zshrc_has_instant_prompt=0
write_zshrc=0
+ if (( $+functions[z4h] )); then
+ zshrc_has_cfg=1
+ zshrc_has_instant_prompt=1
+ fi
+
[[ $instant_prompt == off ]] && zshrc_has_instant_prompt=1
if [[ -e $__p9k_zshrc ]]; then