diff --git a/share/bash-function.txt b/share/bash-function.txt index 6d24474..69bbfef 100644 --- a/share/bash-function.txt +++ b/share/bash-function.txt @@ -23,7 +23,7 @@ wttr() { command shift local args="" for p in $WTTR_PARAMS "$@"; do - args+=" --data-urlencode '$p' " + args+=" --data-urlencode $p " done curl -fGsS -H "Accept-Language: ${LANG%_*}" $args --compressed "wttr.in/${location}" }