David DeSimone <[EMAIL PROTECTED]> wrote on Mon, 30 Aug 1999:
> Is this better?
It is indeed, thanks!
> complete mutt "c@[=+]@F:$HOME/.mail/@" "c@-f[=+]@F:$HOME/.mail/@" \
> 'n/-[afFHi]/f/' 'n/-s/x:(subject)/' 'n/*/u/'
I just made one change. I changed that last to be "n/*/\$emailaliases/"
and then included the top of my .completion to have
set emailaliases=(`getaliases.pl`)
Now when I press tab after mutt on the command line, I get completion
based on my list of aliases, rather than usernames - much more
convenient for me. getaliases.pl is a perl script I wrote just for
this purpose, all it does is prints out a list of aliases defined in
.muttrc & related files (it knows about source statements). If
someone wants that, feel free to ask me and I'd be happy to mail it.
Mikko
--
// Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
// The Corrs list maintainer // net.freak // DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Don't force it, use a bigger hammer.