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

Re: compctl tips needed on words with common prefix



>>>>> "Zefram" == Zefram  <zefram@xxxxxxxxx> writes:

    lew>> I could not get 'construct' to be completed by <TAB> because
    lew>> the 'co' is recognized first,

    Zefram> So put the "construct" rule before the "co" rule.

I tried that but still does not work:

	compctl -k "(ci construct co cinema)" \
		-x "r[construct,;]" -k "(cons1 cons2)" \
		- "r[co,;]" -k "(co1 co2 co3)" -- xxx

Try it on your version.  Mines failed (both 3.1.3 and 3.0.5).



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