mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-14 00:50:08 +00:00
force shell integration when running under vscode integrated terminal with shell integration enabled
This commit is contained in:
parent
2b7da93df0
commit
119e4039ef
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue