fix(lib): turn off `rematchpcre` option in `omz_urlencode` (#12388)

Fixes #12388
master
Marc Cornellà 2 years ago
parent 5e957cdc16
commit f70e6916a1
No known key found for this signature in database
GPG Key ID: 314585E776A9C1B
  1. 2
      lib/functions.zsh

@ -160,6 +160,8 @@ zmodload zsh/langinfo
# -P causes spaces to be encoded as '%20' instead of '+'
function omz_urlencode() {
emulate -L zsh
setopt norematchpcre
local -a opts
zparseopts -D -E -a opts r m P

Loading…
Cancel
Save