Commit 3df57ca9 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Add a check for TMUX to auto-tmux

parent 024d1854
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
# Automatically run terminal multiplexer on SSH connect
case $TERM in
	screen*|tmux*) ;;
	*) [ -n "$SSH_TTY" ] && has tmux &&
	*) [ -n "$SSH_TTY" ] && [ -z "$TMUX" ] && has tmux &&
		exec ~/.shell/bin/tmux-display-helper start-client ;;
esac