Fix syntax minor issues in .bash_profile.
This commit is contained in:
parent
16b871393f
commit
d0102c76ac
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue