Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
compctl tips needed on words with common prefix
- X-seq: zsh-users 1624
- From: Paul Lew <lew@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: compctl tips needed on words with common prefix
- Date: Wed, 17 Jun 1998 11:10:04 -0400
I am trying to define the following compctl:
compctl -k "(ci co construct cinema)" xxx
This works fine. Now I am adding extra:
compctl -k "(ci co construct cinema)" \
-x "r[co,;]" -k "(co1 co2 co3)" \
- "r[construct,;]" -k "(cons1 cons2)" -- xxx
I could not get 'construct' to be completed by <TAB> because the 'co'
is recognized first, i.e.,
xxx c<TAB>
ci cinema co construct
xxx co<TAB>
co1 co1 co3
xxx con<TAB>
nothing
Any trick to this? Thanks in advance...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author