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

Re: compctl -g not working



[ moved to -workers ]

Bart Schaefer wrote:

> ...
> 
> The reason that "some other places" does not include `compctl -s' is
> because -s actually *does* pass the string through the lexer again,
> whereas -g passes it only through the tokenizer.
> 
> So the questions (hey, zsh-workers) are:
> 
> Should we fix `compctl -g' so that it behaves like "ordinary" globbing?
> (I have a suggested implementation that I won't go into here.)

Would be fine with me. (I really don't care about compctl anymore ;-)

> Should we make BARE_GLOB_QUAL a bit smarter so that it knows about
> KSH_GLOB and looks back one more character to see if what precedes the
> open-paren token is one of the ksh-glob-chars?  (It already treats a
> `|' inside the parens as indicative of a glob alternation rather than
> a list of qualifiers.)

I'm with Zefram here.


Bye
  Sven

-- 
Sven Wischnowsky                    wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author