Please wait while tweets load
If you can't wait - check out what we've been twittering
Follow on twitter or identi.ca
Hi Nicolas, Perhaps over complicated, but this is what i used to test it.
if [[ $TERM != 'screen' ]] ; then if [[ `screen -list | grep -v "No" | awk '$2 { print }' | wc -l` == 0 ]] ; then screen else screen -dr fi fi
More information about formatting options
Hi Nicolas, Perhaps over
Hi Nicolas, Perhaps over complicated, but this is what i used to test it.
if [[ $TERM != 'screen' ]] ; then
if [[ `screen -list | grep -v "No" | awk '$2 { print }' | wc -l` == 0 ]] ; then
screen
else
screen -dr
fi
fi