diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-05-31 17:34:18 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-05-31 17:34:18 -0300 |
commit | 414b5566eea57f535b09c8cce339cf6e714f3f0b (patch) | |
tree | cc897ed988a7b2ce1f19ff706afb9f9bf438cfb5 | |
parent | 4a9091a22803afc56a4df7745e74abf28883ec14 (diff) | |
download | scripts-414b5566eea57f535b09c8cce339cf6e714f3f0b.tar.gz scripts-414b5566eea57f535b09c8cce339cf6e714f3f0b.tar.bz2 |
Adding root screen support on wscreen
-rwxr-xr-x | wscreen | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -21,6 +21,8 @@ if [ ! -z "$1" ]; then if [ "$1" == "main" ]; then opts="" + elif [ "$1" == "root" ]; then + sudo screen -x elif [ -f "$HOME/.screen/$1" ]; then opts="-c $HOME/.screen/$1" fi |