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...)