Since upgrading to bash-4, I have noticed a bug while attempting to tab-complete mailboxes for mutt. When I type `mutt -f =<TAB><TAB>`, I get a list of mailboxes, as expected. But, when I start typing the name of a mailbox and try to expand, say `mutt -f =m<TAB><TAB>`, I get a list of usernames and aliases. I have a patch for /usr/share/bash-completion/base that makes completion work under bash-4, but I think the patch breaks completion under bash-3.
Created attachment 206595 [details, diff] patch /usr/share/bash-completion/base for mutt to work with bash-4
Created attachment 206597 [details, diff] patch /usr/share/bash-completion/base for mutt to work with bash-4, remix The first patch may not have affected bash-3, but this one certainly won't.
Drake, if you unpack the tarball, you will see a bash_completion file. This is the one that needs to be patched. Additionally, you need to confirm that it has not been fixed in 1.1 already. Thanks.
Created attachment 208607 [details] replacement mutt file The bug has not been addressed in 1.1. This replacement mutt file contains the fix.
Please fix it. I've no idea about writing bash-completion functions (pretty bizarre stuff) functions, but I'm really missing the functionality.
https://alioth.debian.org/tracker/index.php?func=detail&aid=312184&group_id=100114&atid=413095
(In reply to comment #4) > Created an attachment (id=208607) [details] > replacement mutt file > > The bug has not been addressed in 1.1. This replacement mutt file contains the > fix. Doesn't seem to work for me: $ mutt -f =gent<TAB><TAB>oo/ CVS/ xml/ instead of, say =gentoo-dev...
Is there someone still interested in this? Please comment or I will close this bug.
Feel free to close the bug, it's working now (I don't remember what has changed, but the bug is not valid anymore for sure).
Alright. Thank you for the info!