mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01:00
fix(lib): turn off rematchpcre option in omz_urlencode (#12388)
Fixes #12388
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user