mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
force shell integration when running under warp (#2307)
This commit is contained in:
parent
7bb3f05318
commit
f4a7e6d0e0
1 changed files with 2 additions and 0 deletions
|
@ -8950,6 +8950,8 @@ _p9k_precmd_first() {
|
||||||
if [[ -n $KITTY_SHELL_INTEGRATION && KITTY_SHELL_INTEGRATION[(wIe)no-prompt-mark] -eq 0 ]]; then
|
if [[ -n $KITTY_SHELL_INTEGRATION && KITTY_SHELL_INTEGRATION[(wIe)no-prompt-mark] -eq 0 ]]; then
|
||||||
KITTY_SHELL_INTEGRATION+=' no-prompt-mark'
|
KITTY_SHELL_INTEGRATION+=' no-prompt-mark'
|
||||||
(( $+__p9k_force_term_shell_integration )) || typeset -gri __p9k_force_term_shell_integration=1
|
(( $+__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
|
fi
|
||||||
typeset -ga precmd_functions=(${precmd_functions:#_p9k_precmd_first})
|
typeset -ga precmd_functions=(${precmd_functions:#_p9k_precmd_first})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue