From d0102c76ac4cf759143013b142facf8a12283a92 Mon Sep 17 00:00:00 2001 From: Darren Austin Date: Tue, 4 Oct 2016 18:07:52 +0100 Subject: [PATCH] Fix syntax minor issues in .bash_profile. --- .bash_profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bash_profile b/.bash_profile index f9f9660..006ed18 100644 --- a/.bash_profile +++ b/.bash_profile @@ -71,7 +71,7 @@ hash screen >/dev/null 2>&1 && { echo echo "Screen $STY, window $WINDOW." else - _SCREENS="$( screen -ls | egrep '[[:alpha:]]' | egrep -v '^[[:digit:]]+ Socket(s)?' )" + _SCREENS="$( screen -ls | grep '[[:alpha:]]' | egrep -v '^([[:digit:]]+|No) Socket(s)?' )" if [ -n "$_SCREENS" ]; then echo echo "$_SCREENS" @@ -94,7 +94,7 @@ hash screen >/dev/null 2>&1 && { echo echo "You have mail." fi - else +# else # echo # echo "No mail." fi