From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1826 invoked from network); 10 Feb 2000 18:51:57 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Feb 2000 18:51:57 -0000 Received: (qmail 22140 invoked by alias); 10 Feb 2000 18:51:45 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2912 Received: (qmail 22133 invoked from network); 10 Feb 2000 18:51:45 -0000 Date: Thu, 10 Feb 2000 19:51:43 +0100 From: Andy Spiegl To: zsh-users@sunsite.auc.dk Subject: Re: completion but extra options allowed Message-ID: <20000210195143.A26109@br-online.de> Mail-Followup-To: zsh-users@sunsite.auc.dk References: <20000210153411.A27005@fruitcom.com> <1000210175857.ZM6927@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <1000210175857.ZM6927@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Thu, Feb 10, 2000 at 05:58:57PM +0000 X-PGP-GPG-Keys: finger pgp.andy@spiegl.de OR mail -s "send pgp" auto@spiegl.de Hi Bart, > This means that you type "mutt -f +" and zsh will complete files in > your $HOME/Mail directory following the + sign. Mutt understands the + as > an abbreviation for the mail directory. In the absence of a +, zsh just > completes file names after "mutt -f". This is exactly what I am trying to teach zsh-3.1.6.pws16 to do. > Finally, if you're using zsh-3.1.6*, you can get this and more "for free" > by enabling the new completion system. Look up "compinit" in the manual. Hm, not here. :-( eule:~>mutt - option -F -- init file -H -- draft file -R -- open in read-only mode [...] eule:~>mutt -f /home/spiegl/Mail/aaa /home/spiegl/Mail/bbb /home/spiegl/Mail/ccc [...] eule:~>mutt -f + I guess the '+' is not implemented (yet), right? Looking at _mutt (as a zsh-novice) I can't find anything like it. And it doesn't expand local filenames either: eule:~>cd Mail eule:~/Mail>mutt -f a BTW, _mailboxes expects the "mailboxes" definition to be in ~/.muttrc. I had to change it, because I've got it in ~/.mutt/local, which is sourced from ~/.muttrc. The same goes for the aliases. :-( Bye, Andy. -- E-Mail: Andy@spiegl.de URL: http://andy.spiegl.de PGP/GPG: see headers o _ _ _ --------- __o __o /\_ _ \\o (_)\__/o (_) ------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ ------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Smile... Tomorrow will be worse.