Skip to content

Commit b84fce2

Browse files
authored
Prevent python extension from overriding gitbash pwd (microsoft#24832)
Gitbash repro steps: - Opt into Terminal Env Var experiment - Make sure shell integration setting is on (generic terminal one) - Be on Windows gitbash (with activated environment) - You will see messed up prompt cwd
1 parent 42962ce commit b84fce2

File tree

1 file changed

+1
-0
lines changed
  • src/client/terminals/envCollectionActivation

1 file changed

+1
-0
lines changed

src/client/terminals/envCollectionActivation/service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ function shouldSkip(env: string) {
472472
'PYTHONUTF8',
473473
// We have deactivate service which takes care of setting it.
474474
'_OLD_VIRTUAL_PATH',
475+
'PWD',
475476
].includes(env);
476477
}
477478

0 commit comments

Comments
 (0)