-
Notifications
You must be signed in to change notification settings - Fork 30.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
Terminal activate conda base environment just after activating the right environment #147016
Comments
@karthiknadig any thoughts? |
@meganrogge This was filed here in response to this comment: microsoft/vscode-python#18868 (comment) Even though python extension is sending the commands in the order:
The second command is executed first. /cc @karrtikr |
Thanks, how are those currently being sent ? Via send text to terminal? @karthiknadig |
I assume this means that this is a bug with zsh shell itself. Can you provide the steps to simulate sending commands outside of VSCode? Ideally this should be reported there before it's closed. |
Does the issue reproduce in bash? |
For me it doesn't, also we only received issues for ZSH. @Lawiss Can you confirm if using bash has the same issue? |
Hello @karrtikr @meganrogge, Indeed, I can reproduce the issue only on zsh, commandes are fired in the correct order on bash. |
Does this issue occur when all extensions are disabled?: Yes/No
Diagnostic data
python.languageServer
setting: DefaultUser Settings
Extension version: 2022.4.0
VS Code version: Code 1.66.0 (Universal) (e18005f, 2022-03-30T05:50:04.419Z)
OS version: Darwin arm64 21.4.0
Restricted Mode: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
A/B Experiments
Behaviour
Expected vs. Actual
Hello,
When I select my conda env for the workspace, I expect that each terminal session activate this environment. In the past it worked well. But since a few days I have a strange behaviour : the terminal execute the command
conda activate myenv
then just aftersource /Users/luis/miniforge3/bin/activate
reactivating base env. (see in screenshoot)Steps to reproduce:
The text was updated successfully, but these errors were encountered: