force shell integration when running under vscode integrated terminal with shell integration enabled

This commit is contained in:
Roman Perepelitsa 2024-08-17 09:34:01 +02:00
parent 2b7da93df0
commit 119e4039ef

View file

@ -9483,7 +9483,11 @@ if [[ $__p9k_dump_file != $__p9k_instant_prompt_dump_file && -n $__p9k_instant_p
zf_rm -f -- $__p9k_instant_prompt_dump_file{,.zwc} 2>/dev/null
fi
typeset -g P9K_VERSION=1.20.10
typeset -g P9K_VERSION=1.20.11
if [[ ${VSCODE_SHELL_INTEGRATION-} == <1-> && ${+__p9k_force_term_shell_integration} == 0 ]]; then
typeset -gri __p9k_force_term_shell_integration=1
fi
unset VSCODE_SHELL_INTEGRATION
_p9k_init_ssh