From f9d26eef58ce2b9fa1e2443032c17c2ccc6afa36 Mon Sep 17 00:00:00 2001 From: Gregory Mullen Date: Wed, 3 Jul 2019 09:54:10 -0700 Subject: Add IMAP folder tab completion Credit for this fix goes to Reto; I guess if we're not gonna be mutt we should probabaly do things correctly. --- commands/account/cf.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'commands/account') diff --git a/commands/account/cf.go b/commands/account/cf.go index 197e956..6c928ea 100644 --- a/commands/account/cf.go +++ b/commands/account/cf.go @@ -3,6 +3,7 @@ package account import ( "errors" + "git.sr.ht/~sircmpwn/aerc/commands" "git.sr.ht/~sircmpwn/aerc/widgets" ) @@ -22,7 +23,7 @@ func (_ ChangeFolder) Aliases() []string { } func (_ ChangeFolder) Complete(aerc *widgets.Aerc, args []string) []string { - return nil + return commands.GetFolders(aerc, args) } func (_ ChangeFolder) Execute(aerc *widgets.Aerc, args []string) error { -- cgit 1.4.1-2-gfad0