mirror of
https://github.com/chubin/wttr.in.git
synced 2024-10-05 09:52:13 +02:00
6 lines
119 B
Plaintext
6 lines
119 B
Plaintext
wttr()
|
|
{
|
|
# change Paris to your default location
|
|
curl -H "Accept-Language: ${LANG%_*}" wttr.in/"${1:-Paris}"
|
|
}
|