diff --git a/share/bash-function.txt b/share/bash-function.txt new file mode 100644 index 0000000..c573c95 --- /dev/null +++ b/share/bash-function.txt @@ -0,0 +1,5 @@ +wttr() +{ + # change Paris to your default location + curl -H "Accept-Language: ${LANG%_*}" wttr.in/"${1:-Paris}" +}