Open BobEvans opened 1 year ago
It seems this has to do with a setting VS Code, called Enable Shell integration, which injects commands and may or may not load the ~/.bashrc.
It seems that zsh and fish work OK.
Unclear what happened. No evidence. But adding if [ -n "$BASH_VERSION" ]; then
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi back into .bash_profile solved the problem in VS Code terminals and in macOS Terminal terminals.
On linux, everything works fine.
There is also a problem with local fish shells in VS Code. Bug filed: https://github.com/microsoft/vscode/issues/194323
Expected Behavior
Opening a local terminal inside vscode will also source the .bashrc and log shell commands.
Actual Behavior
Does not set the prompt to have the red ball Does not send events to the pal_event_server.
Steps to Reproduce the Problem
Specifications