Fix vscode failure to resolve shell

This commit is contained in:
2026-02-14 11:17:35 -05:00
parent 5745665c15
commit 763b90ef33

View File

@@ -43,7 +43,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