From a834bec66b658680676f7892b4edab7cb18d832f Mon Sep 17 00:00:00 2001 From: Chapman Pendery <35637443+cpendery@users.noreply.github.com> Date: Wed, 6 Mar 2024 14:09:16 -0500 Subject: [PATCH] fix: zsh integration to work with powerlevel10k / themes (#191) Signed-off-by: Chapman Pendery --- shell/shellIntegration-rc.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell/shellIntegration-rc.zsh b/shell/shellIntegration-rc.zsh index 3c9379b..2a411ec 100644 --- a/shell/shellIntegration-rc.zsh +++ b/shell/shellIntegration-rc.zsh @@ -48,6 +48,9 @@ __is_update_prompt() { } __is_precmd() { + if [[ $PS1 != *"$(__is_prompt_start)"* ]]; then + __is_update_prompt + fi __is_update_cwd }