From ad0d6319dd751ffc7bf6b2044fc673d04f9d6029 Mon Sep 17 00:00:00 2001 From: Jeffas Date: Thu, 12 Sep 2019 12:01:16 +0100 Subject: Add completion for copy --- commands/msg/copy.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'commands/msg/copy.go') diff --git a/commands/msg/copy.go b/commands/msg/copy.go index 398beaeb..d6b78d3d 100644 --- a/commands/msg/copy.go +++ b/commands/msg/copy.go @@ -7,6 +7,7 @@ import ( "git.sr.ht/~sircmpwn/getopt" "github.com/gdamore/tcell" + "git.sr.ht/~sircmpwn/aerc/commands" "git.sr.ht/~sircmpwn/aerc/widgets" "git.sr.ht/~sircmpwn/aerc/worker/types" ) @@ -22,7 +23,7 @@ func (Copy) Aliases() []string { } func (Copy) Complete(aerc *widgets.Aerc, args []string) []string { - return nil + return commands.GetFolders(aerc, args) } func (Copy) Execute(aerc *widgets.Aerc, args []string) error { -- cgit