Skip to content

First Terminal in VirtualEnv Does Not Follow Defaults #142220

@bphunter1972

Description

@bphunter1972

Issue Type: Bug

My terminal.integrated.defaultProfile.linux setting is zsh.

However, when VSCode first starts, when it re-starts, or after opening a project, if the project lives in a virtualenv then VS Code executes <venv_path>/bin/activate.csh.

Logging out of this shell and then creating a new one will correctly execute <venv_path>/bin/activate instead, but the first one always comes up in csh.

VS Code version: Code - Insiders 1.65.0-insider (Universal) (62de8dc, 2022-02-04T11:48:40.875Z)
OS version: Darwin x64 21.3.0
Restricted Mode: No
Remote OS version: Linux x64 3.10.0-1062.1.2.el7.x86_64
Remote OS version: Linux x64 3.10.0-1062.1.2.el7.x86_64

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 2, 2
Memory (System) 16.00GB (0.10GB free)
Process Argv --crash-reporter-id 006e15b5-a669-4bc7-a1f6-95633fbbc2b2
Screen Reader no
VM 0%
Item Value
Remote SSH: scv-bphunter01.csg.apple.com
OS Linux x64 3.10.0-1062.1.2.el7.x86_64
CPUs Intel(R) Xeon(R) Gold 6136 CPU @ 3.00GHz (2 x 2992)
Memory (System) 7.64GB (0.34GB free)
VM 100%
Item Value
Remote SSH: scv-bphunter01.csg.apple.com
OS Linux x64 3.10.0-1062.1.2.el7.x86_64
CPUs Intel(R) Xeon(R) Gold 6136 CPU @ 3.00GHz (2 x 2992)
Memory (System) 7.64GB (0.34GB free)
VM 100%
Extensions (29)
Extension Author (truncated) Version
vscode-select-by-indent hab 0.3.0
vscode-peacock joh 4.0.0
jupyter-keymap ms- 1.0.0
remote-ssh ms- 0.70.0
sublime-keybindings ms- 4.0.10
vs-qalc nor 0.1.8
material-icon-theme PKi 4.12.1
rewrap stk 1.16.1
increment-selection alb 0.2.0
clock ang 1.0.1
better-toml bun 0.3.2
systemverilog eir 0.11.3
vscode-test-explorer hbe 2.21.1
search-editor-apply-changes jak 0.1.1
align-by-regex jan 1.0.4
vscode-python-test-adapter lit 0.7.0
mypy mat 0.2.1
git-graph mhu 1.30.0
python ms- 2022.0.1786462952
vscode-pylance ms- 2022.2.0
jupyter ms- 2022.1.1001775990
test-adapter-converter ms- 0.1.5
vscode-text-tables Rom 0.1.5
vscode-paste-and-indent Rub 0.0.8
todotasks san 0.5.0
sort-lines Tyr 1.9.1
vscodeintellicode Vis 1.2.16
change-case wma 1.0.0
markdown-all-in-one yzh 3.4.0

(2 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
pythonvspyt200:30323110
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30404738
wslgetstartedc:30421358
vscop453:30404998
vsclayoutctrc:30405799
pythonvsnew555:30426298
vscscmwlcmt:30428973
azactmsalcf:30432849

Metadata

Metadata

Assignees

Labels

*caused-by-extensionIssue identified to be caused by an extension

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions