Commit bff8aae3 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

extend the TERM values supported by auto-tmux-attach

parent 27bce471
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ if [ -n "$PS1" ]; then
fi

# Automatically run terminal multiplexer on SSH connect
[ -n "$SSH_TTY" ] && [ "x$TERM" != xscreen ] && has tmux &&
[[ -n "$SSH_TTY" ]] && ! [[ "$TERM" =~ ^(screen|tmux) ]] && has tmux &&
	exec ~/.shell/bin/tmux-display-helper start-client

# Get Bash aliases and functions
+1 −1
Original line number Diff line number Diff line
@@ -4,5 +4,5 @@ source ~/.shell/funcs
source_each ~/.profile ~/.profile_local

# Automatically run terminal multiplexer on SSH connect
[ -n "$SSH_TTY" ] && [ "x$TERM" != xscreen ] && has tmux &&
[[ -n "$SSH_TTY" ]] && ! [[ "$TERM" =~ ^(screen|tmux) ]] && has tmux &&
	exec ~/.shell/bin/tmux-display-helper start-client