no icon where forecast is unavailable

This commit is contained in:
Dane Williams 2020-03-15 12:21:58 -07:00
parent 7e3da16262
commit 68764b514b

View file

@ -39,6 +39,8 @@ forecast_unicode()
echo '☂'
elif [[ (($forecast =~ 'Overcast') || ($forecast =~ 'Cloud')) ]]; then
echo '☁'
elif [[ $forecast = 'NA' ]]; then
echo ''
else
echo '☀'
fi