Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Filename Generation (again)
- X-seq: zsh-users 11651
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Filename Generation (again)
- Date: Tue, 17 Jul 2007 08:09:10 +0100
- In-reply-to: <87odic43e2.fsf@xxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <87odic43e2.fsf@xxxxxxxxxxxxxxxxxxxxxxxx>
Joel J. Adamson wrote:
> ----------------------------------------
> doit:1: no matches found: /home/joel/data/*generic*~*~
> ----------------------------------------
Assuming, of course, there are files there, the obvious possibility
is that the extended_glob option isn't set.
You might want to sanitize the options you are using in the function
by setting:
emulate -L zsh
setopt extendedglob
right at the start of the function (adding anything else you need).
--
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
To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview
Messages sorted by:
Reverse Date,
Date,
Thread,
Author