replace __fish_urlencode with string escape

We now have a builtin that can do URL escaping so use it. I can't find
any uses of our private `__fish_urlencode` function in any Oh-My-Fish or
Fisherman code so remove it.
This commit is contained in:
Kurtis Rader
2017-06-22 22:24:24 -07:00
parent f3cb625802
commit bb29f9f990
12 changed files with 2 additions and 66 deletions

View File

@@ -167,7 +167,7 @@ In general, special characters are special by default, so `a+` matches one or mo
\endfish
\fish{cli-dark}
>_ string escape --style=var 'a1 b2'\u6161
>_ string escape --style=var 'a1 b2'\\u6161
<bs>a1_20b2__c_E6_85_A1</bs>
\endfish