diff --git a/drivers/completer/completer.go b/drivers/completer/completer.go index 6710593c35b..23be68e0943 100644 --- a/drivers/completer/completer.go +++ b/drivers/completer/completer.go @@ -122,53 +122,57 @@ func NewDefaultCompleter(opts ...Option) readline.AutoCompleter { backslashCommands: []string{ `\!`, `\?`, + `\C`, + `\H`, + `\T`, + `\Z`, `\a`, `\begin`, `\bind`, `\c`, - `\C`, `\cd`, `\commit`, `\connect`, `\conninfo`, `\copy`, `\copyright`, + `\cset`, `\d+`, + `\dS+`, + `\dS`, `\da+`, - `\da`, `\daS+`, `\daS`, + `\da`, `\df+`, - `\df`, `\dfS+`, `\dfS`, + `\df`, `\di+`, - `\di`, `\diS+`, `\diS`, + `\di`, `\dm+`, - `\dm`, `\dmS+`, `\dmS`, + `\dm`, `\dn+`, - `\dn`, `\dnS+`, `\dnS`, + `\dn`, `\drivers`, `\ds+`, - `\ds`, - `\dS+`, - `\dS`, `\dsS+`, `\dsS`, + `\ds`, `\dt+`, - `\dt`, `\dtS+`, `\dtS`, + `\dt`, `\dv+`, - `\dv`, `\dvS+`, `\dvS`, + `\dv`, `\e`, `\echo`, `\f`, @@ -177,7 +181,6 @@ func NewDefaultCompleter(opts ...Option) readline.AutoCompleter { `\gexec`, `\gset`, `\gx`, - `\H`, `\i`, `\ir`, `\l+`, @@ -193,13 +196,11 @@ func NewDefaultCompleter(opts ...Option) readline.AutoCompleter { `\set`, `\setenv`, `\t`, - `\T`, `\timing`, `\unset`, `\w`, `\watch`, `\x`, - `\Z`, }, } for _, o := range opts {