Browse Source

Fix quoting

pull/589/head
Matt Hayden 5 years ago
parent
commit
d80c470061
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      share/bash-function.txt

+ 1
- 1
share/bash-function.txt View File

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