zsh-users
 help / color / mirror / code / Atom feed
From: Paul Lew <lew@ezdzit.zko.dec.com>
To: zsh-users@math.gatech.edu
Subject: compctl tips needed on words with common prefix
Date: Wed, 17 Jun 1998 11:10:04 -0400	[thread overview]
Message-ID: <9806171510.AA08785@ezdzit.zko.dec.com> (raw)

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


             reply	other threads:[~1998-06-17 15:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-17 15:10 Paul Lew [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9806171510.AA08785@ezdzit.zko.dec.com \
    --to=lew@ezdzit.zko.dec.com \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).