update dotfiles

This commit is contained in:
Simonas Narbutas
2019-04-04 12:58:21 +02:00
parent 9ed2094406
commit 84c6f841ce
8 changed files with 27 additions and 24 deletions

View File

@@ -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