From: Silvio Rhatto Date: Sun, 1 Oct 2017 13:26:55 +0000 (-0300) Subject: Check also for tmux profiles X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=512aa73872075c7670823f742e97ea32bb0d6dd4;p=termplex.git Check also for tmux profiles --- diff --git a/shell b/shell index ae1d7e3..c5612dc 100755 --- a/shell +++ b/shell @@ -77,7 +77,7 @@ else window_title root SUDO="sudo" eval `shell_remote_multiplexer` - elif [ -z "$COMMAND" ] && [ -f "$HOME/.screen/$DEST" ]; then + elif [ -z "$COMMAND" ] && ( [ -f "$HOME/.screen/$DEST" ] || [ -f "$HOME/.tmux/$DEST" ] ); then # Local root shell window_title $DEST shell local $DEST