mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Add a deprecation comment.
This commit is contained in:
parent
14b4ba83c3
commit
96c34cebae
2 changed files with 6 additions and 2 deletions
|
|
@ -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'"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue