mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 08:26:42 +00:00
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.
8 lines
137 B
Bash
8 lines
137 B
Bash
#
|
|
# ZSH Non-Interactive Shell Setup
|
|
#
|
|
|
|
# We don't want anything beyond the zshenv file to be loaded in a
|
|
# non-interactive shell.
|
|
return
|