diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2023-05-16 11:16:42 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2023-05-16 11:16:42 +0300 |
commit | f4a7e6d0e033b1428279313c6849ceec0a3f1757 (patch) | |
tree | 0543a8b3d1581e4be17a8322cf82e02a1445f64c | |
parent | 7bb3f053186f597b1a93a0fb7daf02e8fa83376d (diff) |
force shell integration when running under warp (#2307)
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 9e955413..4867f481 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -8950,6 +8950,8 @@ _p9k_precmd_first() { if [[ -n $KITTY_SHELL_INTEGRATION && KITTY_SHELL_INTEGRATION[(wIe)no-prompt-mark] -eq 0 ]]; then KITTY_SHELL_INTEGRATION+=' no-prompt-mark' (( $+__p9k_force_term_shell_integration )) || typeset -gri __p9k_force_term_shell_integration=1 + elif [[ $TERM_PROGRAM == WarpTerminal ]]; then + (( $+__p9k_force_term_shell_integration )) || typeset -gri __p9k_force_term_shell_integration=1 fi typeset -ga precmd_functions=(${precmd_functions:#_p9k_precmd_first}) } |