aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-10-15 16:00:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-10-15 16:00:08 -0300
commitaac512901f6932f1a8737fcf9671e80d60b19add (patch)
tree6773e82966556d6f841345ad07459cddcecdf770
parent22f598c0ce9d8bfb15294598896b7b76972124b4 (diff)
downloadtermplex-aac512901f6932f1a8737fcf9671e80d60b19add.tar.gz
termplex-aac512901f6932f1a8737fcf9671e80d60b19add.tar.bz2
Remove 'main' as an special screen profile
-rwxr-xr-xwscreen6
1 files changed, 3 insertions, 3 deletions
diff --git a/wscreen b/wscreen
index 69a96e2..297ab15 100755
--- a/wscreen
+++ b/wscreen
@@ -25,15 +25,15 @@ if [ ! -z "$1" ]; then
session="-S $1"
fi
- if [ "$1" == "main" ]; then
- opts=""
- elif [ "$1" == "root" ]; then
+ if [ "$1" == "root" ]; then
sudo screen -x
exit
elif [ -f "$HOME/.screen/$1" ]; then
opts="-c $HOME/.screen/$1"
elif [ -f "$HOME/.screen/base" ]; then
opts="-c $HOME/.screen/base"
+ else
+ opts=""
fi
fi