Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

-prefix conditional expression operator



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