From: Silvio Rhatto Date: Wed, 15 Oct 2014 19:00:08 +0000 (-0300) Subject: Remove 'main' as an special screen profile X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=aac512901f6932f1a8737fcf9671e80d60b19add;p=termplex.git Remove 'main' as an special screen profile --- 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