mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 05:41:16 -03:00
Make escape_string transform wildcard characters
The characters ANY_CHAR, ANY_STRING, and ANY_STRING_RECURSIVE are currently transformed by unescape, but not by escape. Let's try escaping them. Fixes #1614.
This commit is contained in:
@@ -2096,7 +2096,7 @@ void complete_print(wcstring &out)
|
||||
|
||||
append_switch(out,
|
||||
e->cmd_is_path ? L"path" : L"command",
|
||||
e->cmd);
|
||||
escape_string(e->cmd, ESCAPE_ALL));
|
||||
|
||||
|
||||
if (o->short_opt != 0)
|
||||
|
||||
Reference in New Issue
Block a user