On Wed, Dec 19, 2012 at 01:52:48PM +1100, Cameron Simpson wrote: > On 18Dec2012 16:51, Jeremy Kitchen <kitc...@kitchen.io> wrote: > | On Wed, Dec 19, 2012 at 08:23:12AM +0800, Woody Wu wrote: > | > I defined serveral aliases in .mail_aliase via the 'a' commmand. And, I > | > checked I had > | > set alias_file=~/.mail_aliases # where I keep my aliases > | > in my .muttrc. > | > | are you also sourcing this file in your .muttrc? You need to source it > | as well. > > Just to make it clear, alias_file only specifies where mutt writes new > alias definitions. Mutt doesn't automatically consult that file, hence > the need to source it as a separate operation. > > Cheers,
Is the 'sourcing' means the same thing as that in bash script? I write '. ~/.mail_aliases' in the .muttrc, but mutt said it's an syntax error. On the hand, I found my .muttrc has some default alias definitions like what you guy said. For example: alias mutt-users Mutt User List <mutt-users@mutt.org> I tried to use this alias by pressing <tab> after I inputted words 'mutt-users' after the 'To:' header in mutt. But I still got nothing. Is there something to do with my message editor? Here it is vim. Thanks. -- woody I can't go back to yesterday - because I was a different person then.