diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-04-04 20:41:34 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-04-04 20:41:34 +0300 |
commit | c71606cd833f60a9b74573b50000fb6a6a9eab17 (patch) | |
tree | a20026245a936069b828e8f9b226cdffc36a35db | |
parent | 9e5ab2ce95f3548d5b34b9a902646e4f5aa70946 (diff) |
assume no zshrc changes are required if using z4h
-rwxr-xr-x | internal/wizard.zsh | 5 |
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 |