aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-07-20 19:26:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-07-20 19:26:08 -0300
commitd6583241a245c2619aa8157acbefd22182e31ddd (patch)
treee4aeff184c62571522e533091716acfef2755c7b
parent77eb9da9fafe5f17611fd6a96e82eeed0c6cb49b (diff)
downloadtermplex-d6583241a245c2619aa8157acbefd22182e31ddd.tar.gz
termplex-d6583241a245c2619aa8157acbefd22182e31ddd.tar.bz2
Network shell
-rwxr-xr-xshell4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell b/shell
index 9ecac83..942ac26 100755
--- a/shell
+++ b/shell
@@ -44,6 +44,10 @@ else
# Local root shell
window_title root
sudo screen -x
+ elif [ -z "$COMMAND" ] && [ "$DEST" == "network" ]; then
+ # Local root shell
+ window_title network
+ shell local network
elif [ "$DEST" == "local" ]; then
# Local screen shell
window_title $COMMAND