Closed
Description
openedon Aug 8, 2024
Currently opening the REPL will open the default shell with a custom environment:
vscode-python/src/client/common/terminal/service.ts
Lines 82 to 86 in e90b95d
And then run & .../python3
to launch it as a sub-shell:
Why not set the environment variable globally such that any python sub-shell will have shell integration? Adding this to my pwsh profile works:
$env:PYTHONSTARTUP = "/Users/tyriar/.vscode-insiders/extensions/ms-python.python-2024.13.2024080701-darwin-arm64/python_files/pythonrc.py"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment