[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt trouble



On Sat, 02 Nov 2002, sandip wrote:

> mutt does not recognize my alias file!
> 
> here are relevant sections from .muttrc file:
> 
> # Alias ###################################################################
> set sort_alias = alias
> set reverse_alias = yes
> set alias_file = "~/.alias"
> #set alias_format = "%4n %t %-10a   %r"
> 
> here is a sample entry in ~/.alias file:
> 
> alias someuser RealName <someone@somewhere.com>
> 
> now, when at To: prompt, i type some and hit tab, nothing happens!
> 
> any suggestions?
> 
> thanx in advance
> 
>From mutt manuals you get:

set alias_file=~/Mail/aliases
# 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.

source ~/Mail/aliases
# Usage: source filename. This command allows the inclusion of initialization commands
# from other files. For example, I place all of my aliases in ~/.mail_aliases so that
# I can make my ~/.muttrc readable and keep my aliases private.
# If the filename begins with a tilde (``~''), it will be expanded to the path of your home directory.
# If the filename ends with a vertical bar (|), then filename is considered to be an
# executable program from which to read input (eg. source ~bin/myscript|/).

set sort_alias=address
# Type: sort order. Default: alias. Specifies how the entries in the `alias' menu are sorted.
# The following are legal values:
# 		address (sort alphabetically by email address)
# 		alias (sort alphabetically by alias name)
# 		unsorted (leave in order specified in .muttrc)

set alias_format="%4n %2d %t %-12a  %r"
# Default: "%4n %t %-10a %r". Specifies the format of the data displayed for the `alias' menu.
# The following printf(3)-style sequences are available:
# %a	alias name
# %n	index number 
# %r	address which alias expands to
# %t	character which indicates if the alias is tagged for inclusion 

Oliver
-- 
... don't touch the bang bang fruit



Reply to: