mirror of
https://github.com/chubin/wttr.in
synced 2024-11-15 08:37:12 +00:00
5 lines
119 B
Text
5 lines
119 B
Text
wttr()
|
|
{
|
|
# change Paris to your default location
|
|
curl -H "Accept-Language: ${LANG%_*}" wttr.in/"${1:-Paris}"
|
|
}
|