Does this issue occur when all extensions are disabled?: Yes/No
Version: 1.83.0-insider
Commit: 03671d332bf6a34782d5adc64086bc8e083a1590
Date: 2023-09-12T15:02:37.804Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Steps to Reproduce:
- Configure fish profile to also set an environment variable:
"fish": {
"path": "fish",
"env": {
"fish_history": "history"
}
},
-
Select this as default terminal profile
-
Create a terminal and print variables, notice fish_history is present:

-
Create a terminal using vscode.window.createTerminal() API, notice many variables including this are not present:

For Python extension, this leads to "Python" terminals being different from the selected terminal: microsoft/vscode-python#21960. Created on behalf of Kyochikuto | キョウチクトウ (@kyochikuto).
Does this issue occur when all extensions are disabled?: Yes/No
Version: 1.83.0-insider
Commit: 03671d332bf6a34782d5adc64086bc8e083a1590
Date: 2023-09-12T15:02:37.804Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Steps to Reproduce:
Select this as default terminal profile
Create a terminal and print variables, notice

fish_historyis present:Create a terminal using

vscode.window.createTerminal()API, notice many variables including this are not present:For Python extension, this leads to "Python" terminals being different from the selected terminal: microsoft/vscode-python#21960. Created on behalf of Kyochikuto | キョウチクトウ (@kyochikuto).