summaryrefslogtreecommitdiff
path: root/lib/functions.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/functions.zsh')
-rw-r--r--lib/functions.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/functions.zsh b/lib/functions.zsh
index 58f0e3fb0..15526cd5f 100644
--- a/lib/functions.zsh
+++ b/lib/functions.zsh
@@ -134,6 +134,7 @@ zmodload zsh/langinfo
# -P causes spaces to be encoded as '%20' instead of '+'
function omz_urlencode() {
emulate -L zsh
+ local -a opts
zparseopts -D -E -a opts r m P
local in_str=$1