Thus spake cmasters: > Trying this again, > > As you can see ... typing out this address every time made me so tired I > forgot the 'o' in 'org'. > > ----- Forwarded message from cmasters <firstname.lastname@example.org> ----- > > Date: Thu, 6 Dec 2001 19:04:45 -0400 > From: cmasters <email@example.com> > To: firstname.lastname@example.org > Subject: Mail Alias file > Reply-To: email@example.com > User-Agent: Mutt/1.2.5i > > Greetings, > > Yet more questions .... > > Before anyone asks, I ~have~ read the relevent man pages. > > I'm trying to set up aliases for the majority of addresses to which I > correspond with. I assigned these using the 'a' (create alias) command, > which then popped those entries in my alias file. This is explicitly sources > in muttrc using 'set alias_file=$HOME/.mail-Alias'. I tried using '~' in the > place of $HOME, but that didn't work either. > > Entries in this file are in the format of: > alias entry nick <email address> > > Yet, I am unable to use any of these. Entering 'debuser' is just so much > easier that 'firstname.lastname@example.org', but mutt seems determined on > insisting on full addresses. > > Suggestions? > > C. Masters Hello, You need both: source ~/.mail-Alias set alias_file=~/.mail-Alias in your .muttrc . Then you can type the first couple letters of the alias and <tab> complete. There may be a more elegant solution, but this is the one I know. Excerpted from man muttrc: alias_file Type: path Default: "~/.muttrc" The default file in which to save aliases created by the "create-alias" function. Note: Mutt will not automatically source this file; you must explicitly use the "source" command for it to be executed. HTH, Steve -- We are not a clone.
Description: PGP signature