diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-12-23 15:41:37 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-12-23 15:41:37 -0200 |
commit | 757bcb115efa59abbb80424efef36f074d82ffc9 (patch) | |
tree | 61dd01f8a8b45dfce37179723e32a0958468680e | |
parent | bfbc9a97ccab5d8e63cb84c2a651e8e4f4d6db5c (diff) | |
download | termplex-757bcb115efa59abbb80424efef36f074d82ffc9.tar.gz termplex-757bcb115efa59abbb80424efef36f074d82ffc9.tar.bz2 |
Enhance behavior for defined sessions
-rwxr-xr-x | shell | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -44,10 +44,10 @@ else # Local root shell window_title root sudo screen -x - elif [ -z "$COMMAND" ] && [ "$DEST" == "network" ]; then + elif [ -z "$COMMAND" ] && [ -f "$HOME/.screen/$DEST" ]; then # Local root shell - window_title network - shell local network + window_title $DEST + shell local $DEST elif [ "$DEST" == "local" ]; then # Local screen shell window_title $COMMAND |