=- Aaron Toponce wrote on Wed 26.Oct'11 at 20:04:04 -0600 -=

> I am using Mutt with two IMAP accounts: Google, and work. I have
> separate RC files for each account. With Google, I am using
> 'query_command' to query my Google Contacts with goobook(1). For
> work, I have setup an alias file, with the necessary aliases. Here
> are the relevant parts of that RC:
> 
>     # file: ~/.mutt/work.rc
>     unset query_command     # unset query_command from ~/.mutt/google.rc
>     set alias_file="~/.mutt/work_aliases"
>     set reverse_alias=yes
>     set sort_alias=alias
>     source $alias_file

Your mutt-version supports mutt-var-expansion?

>     source ~/.mutt/work_lists
> 
> I've unset 'query_command' to make sure I'm not using goobook(1) to query
> my Google Contants, and just to query the "work_aliases" file. Yet, whet
> composing a message, I cannot tab complete the aliases in that file.

Define at run-time a temporary alias, then TAB-expand it to get a
list of _all_ defined aliases.
If none exists beyond the temporary, you file is not slurped.

-- 
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL you do: you get what you give.

Reply via email to