zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@sunsite.dk
Subject: Re: zsh completion of just latex files
Date: Wed, 23 Jun 2004 12:08:04 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0406231201480.28797-100000@toltec.zanshin.com> (raw)
In-Reply-To: <tu8jd0hif9p0vmpn285d1ava8v9pqv6ln8@4ax.com>

On Wed, 23 Jun 2004, zzapper wrote:

> Pardon my ignorance, do I have 2 choose between the two methods of
> completion compsys and compctl, can I mix them, do I have to activate
> one or the other?

You have to activate compsys (by calling "compinit" from your ~/.zshrc) in 
order to use it; the default is compctl.

Once activated, compsys can be told to fall back on compctl for anything
that it's not able to handle, but there is no way to have compctl tried
first and then fall back on compsys.

(I believe the compsys fallback to compctl happens without any need for
special intervention, that is, you have to set a style to turn it _off_.
The style name is "use-compctl".)

On Wed, 23 Jun 2004, zzapper wrote:

> On Wed, 23 Jun 2004 08:59:30 +0100,  wrote:
> 
> >>zstyle ':completion:*:*:vtex:*' file-patterns \
> >>	'*.tex:tex-files' '*.toc:toc-files *.dvi:dvi-files' '%p:all-files'
> >>
> to be more specifc the above method didn't work for while the "old"
> method from Sartoo worked just fine

I suspect that means you've not called "compinit".

	autoload -U compinit
	compinit


      reply	other threads:[~2004-06-23 19:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-22 18:30 zzapper
2004-06-22 23:05 ` Sartoo
2004-06-23  7:01 ` Bart Schaefer
2004-06-23  7:08   ` Pierre HABOUZIT
2004-06-29 15:29     ` Bart Schaefer
2004-06-29 16:25       ` Pierre HABOUZIT
2004-06-23  7:59   ` zzapper
2004-06-23 15:39     ` zzapper
2004-06-23 19:08       ` Bart Schaefer [this message]

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=Pine.LNX.4.44.0406231201480.28797-100000@toltec.zanshin.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    /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).