diff --git a/plugins/terminal/resources/shell-integrations/zsh/.zshenv b/plugins/terminal/resources/shell-integrations/zsh/.zshenv index ee458aa3dba7..ed1629600815 100644 --- a/plugins/terminal/resources/shell-integrations/zsh/.zshenv +++ b/plugins/terminal/resources/shell-integrations/zsh/.zshenv @@ -63,7 +63,7 @@ precmd_functions+=(_jedi_precmd_hook) # Disable p10k Instant Prompt feature: https://github.com/romkatv/powerlevel10k#instant-prompt # because it breaks our command blocks integration by showing the prompt immediately before '.zshrc' is fully sourced -if [ -n "${INTELLIJ_TERMINAL_COMMAND_BLOCKS:-}" ] +if [ -n "${POWERLEVEL9K_INSTANT_PROMPT:-}" ] && [ -n "${INTELLIJ_TERMINAL_COMMAND_BLOCKS:-}" ] then builtin typeset -g POWERLEVEL9K_INSTANT_PROMPT=off fi