From d80c470061480e4c34f0381aac86eb79be11cff7 Mon Sep 17 00:00:00 2001 From: Matt Hayden Date: Sun, 14 Mar 2021 17:04:23 -0600 Subject: [PATCH] Fix quoting --- share/bash-function.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" }