Fix quoting

pull/589/head
Matt Hayden 4 years ago
parent 42635d9c6f
commit d80c470061

@ -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}"
}

Loading…
Cancel
Save