Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug in _mutt ?
- X-seq: zsh-workers 12002
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: bug in _mutt ?
- Date: Tue, 20 Jun 2000 12:53:33 +0100
- In-reply-to: "Your message of Tue, 20 Jun 2000 13:28:29 +0200." <20000620132829.K23705@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Andy Spiegl wrote:
> While we are talking about mutt completion, I'd really like to program it
> so that I can use '=' at the front of a mailbox name to abbreviate ~/Mail/,
> but all my tries so far didn't work. :-(
This can be done by testing "compset -P '='" and stripping off the mail
directory in the same way it's already done for various types of mailbox
(but not currently mutt) in _mailboxes, but if you wait for Dr Schaefer's
Morning Surgery you may find this will happen anyway. It might be a little
tricky because unless NO_EQUALS is set you have to quote the = to protect
it from path expansion, but that should be possible.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author