fix: add missing comma in escape list for file completions and add more cases

windows-fixes
TorchedSammy 2022-02-27 19:19:00 -04:00
parent 994daba078
commit f26931d4cb
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ func matchPath(path, pref string) ([]string, error) {
"'", "\\'", "'", "\\'",
"`", "\\`", "`", "\\`",
" ", "\\ ", " ", "\\ ",
"(", "\\(",
")", "\\)",
"[", "\\[",
"]", "\\]"
} }
r := strings.NewReplacer(args...) r := strings.NewReplacer(args...)