about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJeffas <dev@jeffas.io>2019-09-12 12:01:16 +0100
committerDrew DeVault <sir@cmpwn.com>2019-09-12 23:42:14 -0400
commitad0d6319dd751ffc7bf6b2044fc673d04f9d6029 (patch)
tree8202c8404ebda9bd9db0aa320f0e3503bec096ce
parentecc26b53c985963f0a3aa5f71232ab56a552d0e3 (diff)
downloadaerc-ad0d6319dd751ffc7bf6b2044fc673d04f9d6029.tar.gz
Add completion for copy
-rw-r--r--commands/msg/copy.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/msg/copy.go b/commands/msg/copy.go
index 398beae..d6b78d3 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 {