diff options
author | Jeffas <dev@jeffas.io> | 2019-09-12 12:01:16 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-09-12 23:42:14 -0400 |
commit | ad0d6319dd751ffc7bf6b2044fc673d04f9d6029 (patch) | |
tree | 8202c8404ebda9bd9db0aa320f0e3503bec096ce /commands | |
parent | ecc26b53c985963f0a3aa5f71232ab56a552d0e3 (diff) |
Add completion for copy
Diffstat (limited to 'commands')
-rw-r--r-- | commands/msg/copy.go | 3 |
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 { |