diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-08-26 18:34:52 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-08-26 18:34:52 -0300 |
commit | bfbc9a97ccab5d8e63cb84c2a651e8e4f4d6db5c (patch) | |
tree | 79818c40557ea0fdfe773a89513b87a956dc6990 /wscreen | |
parent | d6583241a245c2619aa8157acbefd22182e31ddd (diff) | |
download | termplex-bfbc9a97ccab5d8e63cb84c2a651e8e4f4d6db5c.tar.gz termplex-bfbc9a97ccab5d8e63cb84c2a651e8e4f4d6db5c.tar.bz2 |
Better screen matching at wscreen
Diffstat (limited to 'wscreen')
-rwxr-xr-x | wscreen | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ screen -wipe &> /dev/null # Session selection. if [ ! -z "$1" ]; then - if screen -ls $1 | grep -q "There is a screen on"; then + if screen -ls $1 | grep -qP "\.$1\t"; then #echo "There's already a screen called $1" #exit 1 screen -x $1 |