mirror of
https://github.com/chubin/wttr.in
synced 2024-12-26 11:43:08 +00:00
added share/bash-function.txt
This commit is contained in:
parent
dc228f06c7
commit
67938c3ef3
1 changed files with 5 additions and 0 deletions
5
share/bash-function.txt
Normal file
5
share/bash-function.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
wttr()
|
||||
{
|
||||
# change Paris to your default location
|
||||
curl -H "Accept-Language: ${LANG%_*}" wttr.in/"${1:-Paris}"
|
||||
}
|
Loading…
Reference in a new issue