Skip to content

Commit

Permalink
fix: zsh integration to work with powerlevel10k / themes (#191)
Browse files Browse the repository at this point in the history
Signed-off-by: Chapman Pendery <[email protected]>
  • Loading branch information
cpendery committed Mar 6, 2024
1 parent f646e29 commit a834bec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shell/shellIntegration-rc.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ __is_update_prompt() {
}

__is_precmd() {
if [[ $PS1 != *"$(__is_prompt_start)"* ]]; then
__is_update_prompt
fi
__is_update_cwd
}

Expand Down

0 comments on commit a834bec

Please sign in to comment.