fix(vscode): avoid interactive shell setup during VSCode shell resolving

When VSCode is started from normal non-terminal/CLI methods, it will start a interactive shell session in the background to dump the the env and get PATH.

Latest versions of VSCode do no play nice with Mise's dynamic PATH updating stuff, and understandably so.

Hence we now check VSCODE_RESOLVING_ENVIRONMENT and avoid all interactive shell setup when it is set.
This commit is contained in:
2025-06-28 16:10:19 +01:00
parent cf1c7de954
commit c2ae58077a
3 changed files with 16 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ SYMLINKS=(
tmux
tmux.conf
warp
zprofile
zshenv
zshrc
)