Fix vscode failure to resolve shell.

This commit is contained in:
Shaun Reed 2024-06-29 11:03:05 -04:00
parent 8fd7494aac
commit bbb5b2a7b8

View File

@ -47,7 +47,9 @@ if [ -e ~/.bash_secrets ]; then
fi fi
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
exec tmux if ! pstree -s $$ | grep -wq code; then
exec tmux >/dev/null 2>&1
fi
fi fi
# Set the default terminal to use konsole, with kapper profile # Set the default terminal to use konsole, with kapper profile