]> gitweb.fluxo.info Git - termplex.git/commitdiff
Network shell
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 20 Jul 2015 22:26:08 +0000 (19:26 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 20 Jul 2015 22:26:08 +0000 (19:26 -0300)
shell

diff --git a/shell b/shell
index 9ecac83a8bbaff2237a497f15154822ce814eafe..942ac2631c041206e375ea4be32fd728ae62dcf2 100755 (executable)
--- 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