Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

_email_adresses, if MH is not installed.



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