Fix bash-function: Fix under zsh

pull/1013/head
Elan Ruusamäe 6 months ago committed by GitHub
parent 235581925f
commit 4137424b70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -20,7 +20,7 @@ fi
wttr() { wttr() {
local location="${1// /+}" local location="${1// /+}"
command shift shift
local args="" local args=""
for p in $WTTR_PARAMS "$@"; do for p in $WTTR_PARAMS "$@"; do
args+=" --data-urlencode $p " args+=" --data-urlencode $p "

Loading…
Cancel
Save