Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
_email_adresses, if MH is not installed.
- X-seq: zsh-workers 19375
- From: Laurent Rineau <rineau@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: _email_adresses, if MH is not installed.
- Date: Thu, 15 Jan 2004 15:00:35 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
If MH is not installed on the system, I get the following error :
rineau@clipper ~ $ mutt rineau<TAB>(eval):1: command not found: ali
@
The reason is that the external program 'ali' is not installed and
_email_adresses does not test if MH is used.
What about the following patch ?
--- /usr/local/util/packages/zsh-4.1.1/functions_source/functions/_email_addresses Sat Jul 5 15:08:05 2003
+++ .zsh_funcs/_email_addresses Thu Jan 15 14:57:57 2004
@@ -119,7 +119,7 @@
fi
# get list of all plugins except any with missing config files
- files=( mutt ~/.muttrc mush ~/.mushrc mail ${MAILRC:-~/.mailrc} pine ~/.addressbook )
+ files=( MH ~/.mh_profile mutt ~/.muttrc mush ~/.mushrc mail ${MAILRC:-~/.mailrc} pine ~/.addressbook )
plugins=(
${${(k)functions[(I)_email-*]#*-}:#(${(kj.|.)~files})}
$files(Ne:'REPLY=( ${(k)files[(r)$REPLY]} ):')
Messages sorted by:
Reverse Date,
Date,
Thread,
Author