mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-18 02:30:06 +02:00
Add a deprecation comment.
This commit is contained in:
@@ -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