Join GitHub today
implement `string unescape` to complement `string escape` #3543
As of 2.4.0, however, there is no safe way to unescape such values. While
unpacks the quoted list into an actual list, but will happily evaluate any commands smuggled into a manipulated
fish version installed (
OS/terminal used: Windows 10, Mintty
There have been times I've wanted this as well. Note that there's a nice little hack that you can use with
# Assuming same $var as before commandline -r -- $var set list_var (commandline -opc) commandline -r -- ""
Though really that just has some novelty value to it and shouldn't be actually used.