aboutsummaryrefslogtreecommitdiffstats
path: root/commands/prompt.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/prompt.go')
-rw-r--r--commands/prompt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/prompt.go b/commands/prompt.go
index d791f7a9..4fcf8a80 100644
--- a/commands/prompt.go
+++ b/commands/prompt.go
@@ -20,7 +20,7 @@ func (Prompt) Aliases() []string {
}
func (*Prompt) CompleteCommand(arg string) []string {
- return CompletionFromList(GlobalCommands.Names(), arg)
+ return FilterList(GlobalCommands.Names(), arg, nil)
}
func (p Prompt) Execute(args []string) error {