From 4137424b700e20be4a7331bacf58da54fb9178ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 22 Aug 2024 20:01:35 +0300 Subject: [PATCH] Fix bash-function: Fix under zsh --- 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 69bbfef..f25cd92 100644 --- a/share/bash-function.txt +++ b/share/bash-function.txt @@ -20,7 +20,7 @@ fi wttr() { local location="${1// /+}" - command shift + shift local args="" for p in $WTTR_PARAMS "$@"; do args+=" --data-urlencode $p "