From f26931d4cbadd3c3c2d3cf40d79bafa1307a5557 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sun, 27 Feb 2022 19:19:00 -0400 Subject: [PATCH] fix: add missing comma in escape list for file completions and add more cases --- complete.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/complete.go b/complete.go index 7faa7e3..ef3c94a 100644 --- a/complete.go +++ b/complete.go @@ -32,6 +32,10 @@ func matchPath(path, pref string) ([]string, error) { "'", "\\'", "`", "\\`", " ", "\\ ", + "(", "\\(", + ")", "\\)", + "[", "\\[", + "]", "\\]" } r := strings.NewReplacer(args...)