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