Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: EQUALS =command expansion
- X-seq: zsh-users 11025
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: EQUALS =command expansion
- Date: Fri, 24 Nov 2006 11:32:11 +0000
- In-reply-to: <20061124045708.20777.qmail@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Cambridge Silicon Radio
- References: <20061124045708.20777.qmail@xxxxxxxxxxx>
On Thu, 23 Nov 2006 23:57:06 -0500 (EST)
Atom Smasher <atom@xxxxxxxxxxx> wrote:
> but if i try to use TAB to expand "=lpr-*" it doesn't work.
It should work if you are using the new completion system
and the GLOB_COMPLETE option is set. If it's not set,
you should still be able to complete =lpr- without the *
(* is not a standard completion syntax, it's usually used
for expansion on the command line).
> $ ls -lh =lpr-*
> zsh: lpr-* not found
That's not how it works. The filename expansion "=" is performed
first, searching for the path to a file name (not a pattern).
When that's finished filename generation handles the *.
That's why they're in different sections in the manual in that
order.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
Messages sorted by:
Reverse Date,
Date,
Thread,
Author