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