update dotfiles
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if [[ "$TERM" == screen-256color ]] || [[ -n "$TMUX" ]]; then
|
||||
if [[ "$TERM" == screen-256color ]] || [[ -n "$TMUX" ]] || [[ "${TERM_PROGRAM}" == "code" ]]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
@@ -9,4 +9,4 @@ if tmux list-sessions && (tmux list-sessions | test -n "$0"); then
|
||||
tmux attach-session -t $session_id \; set-option destroy-unattached
|
||||
else
|
||||
tmux new-session -s base
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user