zsh-users
 help / color / mirror / code / Atom feed
From: Bruno Bonfils <asyd@debian-fr.org>
To: zsh-users@sunsite.dk
Subject: Re: zsh Newbie wants to complete mutt email addresses or aliases
Date: Wed, 1 May 2002 10:41:18 +0200	[thread overview]
Message-ID: <20020501084118.GA32208@syd-barrett.hash-group.net> (raw)
In-Reply-To: <20020430165402.K63229@alpha1.net>

I wrote this :

    # added by asyd (20020304)
    if [ -r ~/.muttrc ]; then

       # use cache
       if ( [[ ${+_list_alias} -eq 0 ]] || _cache_invalid mutt_alias ) &&
          ! _retrieve_cache mutt_alias; then

          _list_alias=(${(o)${${(M)${(f)"$(< ~/.muttrc)"}##alias*}/alias /}%% *})

          _store_cache mutt_alias _list_alias
       fi

       _wanted alias expl 'alias name' compadd -q -S, $_list_alias
    fi


-- 
Bruno Bonfils
Admin Sys GNU/Linux

 http://www.debian-fr.org/


      parent reply	other threads:[~2002-05-01  8:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-30 19:22 Kingsley G. Morse Jr.
2002-04-30 19:34 ` Clint Adams
2002-04-30 20:03   ` Phil Pennock
2002-04-30 20:17   ` Bart Schaefer
2002-04-30 21:31     ` Kingsley G. Morse Jr.
2002-04-30 21:48       ` Bart Schaefer
2002-04-30 21:54         ` Marius Strom
2002-04-30 22:11           ` Bart Schaefer
2002-04-30 23:18           ` Kingsley G. Morse Jr.
2002-05-01  8:41           ` Bruno Bonfils [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020501084118.GA32208@syd-barrett.hash-group.net \
    --to=asyd@debian-fr.org \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).