wttr()
{
# change Paris to your default location
local request="wttr.in/${1-Paris}"
[ "$COLUMNS" -lt 125 ] && request+='?n'
curl -H "Accept-Language: ${LANG%_*}" --compressed "$request"
}