Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion but extra options allowed
- X-seq: zsh-users 2912
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: completion but extra options allowed
- Date: Thu, 10 Feb 2000 19:51:43 +0100
- In-reply-to: <1000210175857.ZM6927@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxxxxxxxxx on Thu, Feb 10, 2000 at 05:58:57PM +0000
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000210153411.A27005@xxxxxxxxxxxx> <1000210175857.ZM6927@xxxxxxxxxxxxxxxxxxxxxxx>
Hi Bart,
> This means that you type "mutt -f +<TAB>" 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 -<TAB>
option
-F -- init file
-H -- draft file
-R -- open in read-only mode
[...]
eule:~>mutt -f <TAB>
/home/spiegl/Mail/aaa
/home/spiegl/Mail/bbb
/home/spiegl/Mail/ccc
[...]
eule:~>mutt -f +<TAB>
<BEEP>
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<TAB>
<BEEP>
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@xxxxxxxxx URL: http://andy.spiegl.de
PGP/GPG: see headers
o _ _ _
--------- __o __o /\_ _ \\o (_)\__/o (_)
------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/
------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Smile... Tomorrow will be worse.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author