diff options
author | Reto Brunner <reto@labrat.space> | 2019-12-21 16:21:27 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-12-21 11:20:12 -0500 |
commit | 00263bf8668130abb4aa5ac3383aeb9865e71328 (patch) | |
tree | 5db84bafed877af46220e3c79771cb6498946bc0 /commands/msg | |
parent | 40ceee969bd29508c1da28052c95eb85a52650ba (diff) | |
download | aerc-00263bf8668130abb4aa5ac3383aeb9865e71328.tar.gz |
modify-labels: add completion
Diffstat (limited to 'commands/msg')
-rw-r--r-- | commands/msg/modify-labels.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/msg/modify-labels.go b/commands/msg/modify-labels.go index a18fc157..a53292e4 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 { |