added share/bash-function.txt

pull/84/head
Igor Chubin 8 years ago
parent dc228f06c7
commit 67938c3ef3

@ -0,0 +1,5 @@
wttr()
{
# change Paris to your default location
curl -H "Accept-Language: ${LANG%_*}" wttr.in/"${1:-Paris}"
}
Loading…
Cancel
Save