zsh-users
 help / color / mirror / code / Atom feed
* compctl tips needed on words with common prefix
@ 1998-06-17 15:10 Paul Lew
  1998-06-17 15:34 ` Zefram
  1998-06-17 16:07 ` Bart Schaefer
  0 siblings, 2 replies; 7+ messages in thread
From: Paul Lew @ 1998-06-17 15:10 UTC (permalink / raw)
  To: zsh-users

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...


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1998-06-18  3:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-06-17 15:10 compctl tips needed on words with common prefix Paul Lew
1998-06-17 15:34 ` Zefram
1998-06-17 16:17   ` Paul Lew
1998-06-17 16:07 ` Bart Schaefer
1998-06-17 16:33   ` Paul Lew
1998-06-17 18:27     ` Bart Schaefer
1998-06-18  2:58       ` Paul Lew

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).