-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSCode terminal task not using zsh profile #143061
Comments
Can you provide your task configuration? |
Running |
@vikkrantxx7 tasks are run as non-interactive, non-login shells (rc files will not be included) but we copy the environment from your VS Code process into your task shell. We often see issues with nvm because of how it handles setup though. You can try adding |
You would need to add it in your setting:
|
This worked !! Thanks! |
I'm trying to run a task on window load in VSCode where a terminal opens and nvm use is run by default. However, running this shell task seems to not load my zsh profile.
The output I get from running my task is:
When I run the terminal directly it is working as expected.
I have this set in settings.json-
"terminal.integrated.profiles.osx": { "zsh": { "path": "/bin/zsh", "args": ["-l"] } }
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: