Conda environment not showing in terminal prompt after activation on macOS (zsh) #24704
Labels
bug
Issue identified by VS Code Team member as probable bug
triage-needed
Needs assignment to the proper sub-team
Does this issue occur when all extensions are disabled?: Yes/No
Description:
After activating the Conda base environment in VS Code’s terminal (using zsh), the environment name does not appear in the terminal prompt. Running conda env list shows the environment is active, but the terminal prompt does not reflect it.
Steps to Reproduce:
1. Open VS Code and launch the integrated terminal (zsh).
2. Activate the Conda base environment with conda activate base.
3. Observe that the terminal prompt does not show (base) even though conda env list indicates the environment is active.
Expected Behavior:
The terminal prompt should show the activated Conda environment (e.g., (base)) after running conda activate base.
Actual Behavior:
The terminal prompt does not reflect the active Conda environment.
Workaround Attempts:
• Verified auto_activate_base: true with conda config --show auto_activate_base.
• Re-ran source ~/.zshrc.
• Restarted VS Code and terminal.
• The issue persists.
VS Code Version:
1.96.2
OS Version:
macOS 15.1
Does this issue occur when all extensions are disabled?
Yes
The text was updated successfully, but these errors were encountered: