From 512aa73872075c7670823f742e97ea32bb0d6dd4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 1 Oct 2017 10:26:55 -0300 Subject: Check also for tmux profiles --- shell | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3