Add completion for copy
This commit is contained in:
parent
ecc26b53c9
commit
ad0d6319dd
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ import (
|
||||||
"git.sr.ht/~sircmpwn/getopt"
|
"git.sr.ht/~sircmpwn/getopt"
|
||||||
"github.com/gdamore/tcell"
|
"github.com/gdamore/tcell"
|
||||||
|
|
||||||
|
"git.sr.ht/~sircmpwn/aerc/commands"
|
||||||
"git.sr.ht/~sircmpwn/aerc/widgets"
|
"git.sr.ht/~sircmpwn/aerc/widgets"
|
||||||
"git.sr.ht/~sircmpwn/aerc/worker/types"
|
"git.sr.ht/~sircmpwn/aerc/worker/types"
|
||||||
)
|
)
|
||||||
|
@ -22,7 +23,7 @@ func (Copy) Aliases() []string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (Copy) Complete(aerc *widgets.Aerc, args []string) []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 {
|
func (Copy) Execute(aerc *widgets.Aerc, args []string) error {
|
||||||
|
|
Loading…
Reference in a new issue