aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rwxr-xr-xshell2
1 files changed, 1 insertions, 1 deletions
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