Fix vscode failure to resolve shell
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user