aboutsummaryrefslogtreecommitdiff
path: root/internal/wizard.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-04-04 20:41:34 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-04-04 20:41:34 +0300
commitc71606cd833f60a9b74573b50000fb6a6a9eab17 (patch)
treea20026245a936069b828e8f9b226cdffc36a35db /internal/wizard.zsh
parent9e5ab2ce95f3548d5b34b9a902646e4f5aa70946 (diff)
assume no zshrc changes are required if using z4h
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