Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
-prefix conditional expression operator
- X-seq: zsh-users 14577
- From: Greg Klanderman <gak@xxxxxxxxxxxxxx>
- To: Zsh users list <zsh-users@xxxxxxx>
- Subject: -prefix conditional expression operator
- Date: Wed, 18 Nov 2009 01:09:09 -0500
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Reply-to: gak@xxxxxxxxxxxxxx
Hi,
Exactly what pattern syntax is allowed by the -prefix operator in
conditional expressions (in completion functions, of course)?
I was trying to do something like [[ -prefix (\\|)\^/ ]] but I get a
syntax error:
| zsh: parse error near `('
thanks,
Greg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author