diff options
author | Gregory Mullen <greg@cmdline.org> | 2019-07-03 09:54:10 -0700 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-07-04 11:28:04 -0400 |
commit | f9d26eef58ce2b9fa1e2443032c17c2ccc6afa36 (patch) | |
tree | 86ca1765c913f9c3285755a1ea3874110dd8da04 /commands/account | |
parent | 8d9d94f0ee63216b50674d0857ef1f2c744737d5 (diff) | |
download | aerc-f9d26eef58ce2b9fa1e2443032c17c2ccc6afa36.tar.gz |
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.
Diffstat (limited to 'commands/account')
-rw-r--r-- | commands/account/cf.go | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |