From 00263bf8668130abb4aa5ac3383aeb9865e71328 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Sat, 21 Dec 2019 16:21:27 +0100 Subject: modify-labels: add completion --- commands/msg/modify-labels.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'commands/msg') diff --git a/commands/msg/modify-labels.go b/commands/msg/modify-labels.go index a18fc15..a53292e 100644 --- a/commands/msg/modify-labels.go +++ b/commands/msg/modify-labels.go @@ -4,6 +4,7 @@ import ( "errors" "time" + "git.sr.ht/~sircmpwn/aerc/commands" "git.sr.ht/~sircmpwn/aerc/widgets" "git.sr.ht/~sircmpwn/aerc/worker/types" "github.com/gdamore/tcell" @@ -20,7 +21,7 @@ func (ModifyLabels) Aliases() []string { } func (ModifyLabels) Complete(aerc *widgets.Aerc, args []string) []string { - return nil + return commands.GetLabels(aerc, args) } func (ModifyLabels) Execute(aerc *widgets.Aerc, args []string) error { -- cgit v1.2.3