about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2007-03-23 04:30:25 +0000
committerBart Schaefer <barts@users.sourceforge.net>2007-03-23 04:30:25 +0000
commit949152124b559855a58e02c462f13cbc662f64c9 (patch)
tree8f03dd1b9b40b49f20d209e65b1cfd62cdfb2820
parent8b41eb3fa0829f1347df7969b0ffecffe88a9901 (diff)
downloadzsh-949152124b559855a58e02c462f13cbc662f64c9.tar.gz
zsh-949152124b559855a58e02c462f13cbc662f64c9.tar.xz
zsh-949152124b559855a58e02c462f13cbc662f64c9.zip
22894 which was supposedly committed 2007-02-25 but somehow didn't make it:
fix muttrc path expansion in search for aliaes.
-rw-r--r--Completion/Unix/Type/_email_addresses2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_email_addresses b/Completion/Unix/Type/_email_addresses
index ffff87163..926e8b4e3 100644
--- a/Completion/Unix/Type/_email_addresses
+++ b/Completion/Unix/Type/_email_addresses
@@ -131,7 +131,7 @@ _email_addresses() {
   if ! zstyle -s ":completion:${curcontext}:email-addresses" muttrc muttrc; then
     [[ -e ~/mutt/muttrc ]] && muttrc="~/mutt/muttrc" || muttrc="~/.muttrc"
   fi
-  files=( MH ${MH:-~/.mh_profile} mutt $muttrc mush ~/.mushrc mail ${MAILRC:-~/.mailrc} pine ~/.addressbook )
+  files=( MH ${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]} ):')