mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-15 16:46:45 +08:00
Add a deprecation comment.
This commit is contained in:
1 parent
14b4ba83c3
commit
96c34cebae
2 files changed
+6
-2
No files matched your search
@@ -176,7 +176,6 @@ function omz_urldecode {
|
||||
emulate -L zsh
|
||||
local encoded_url=$1
|
||||
|
||||
echo -e input $1
|
||||
# Work bytewise, since URLs escape UTF-8 octets
|
||||
local caller_encoding=$langinfo[CODESET]
|
||||
local LC_ALL=C
|
||||
@@ -188,7 +187,6 @@ function omz_urldecode {
|
||||
tmp=${tmp:gs/\\/\\\\/}
|
||||
# Handle %-escapes by turning them into `\xXX` printf escapes
|
||||
tmp=${tmp:gs/%/\\x/}
|
||||
echo -E "before decode $tmp"
|
||||
local decoded
|
||||
eval "decoded=\$'$tmp'"
|
||||
|
||||
|
||||
Reference in new issue
Block a user