zsh-workers
 help / color / mirror / code / Atom feed
From: "Wischnowsky, Sven" <Sven.Wischnowsky@t-systems.de>
To: zsh-workers@sunsite.dk
Subject: Re: generic filename completion like "foo --file=ba<tab>"
Date: Tue, 11 Dec 2001 13:41:37 +0100	[thread overview]
Message-ID: <7D865FB0D0A1D5118B6E000347055BBB1484A2@G9JNT.mgb01.telekom.de> (raw)


Will wrote:

> Peter Stephenson wrote:
> > 
> > The new completion system will do this, and has completion of dd
> > arguments as well.  There's no mileage in trying to add this to the
> > old system now.  It's automatic if you run compinit.
> 
> if anyone knows how to do this without using the new completion system
> i'd like to know about it.
> 
> i still don't really understand... is there a way to use parts of the
> new completion system without loading the whole shebang? believe it or
> not, there are certain things that i _don't_ want to complete (or that i
> like doing my own way)... is there a way to load only specific functions
> from the new system?

You can always delete the functions you don't want or, probably better,
create a link farm in a directory pointing to all those functions you want
and then put only that directory in you $fpath before calling compinit.

And of course, for those places where you don't want to complete: just don't
hit TAB there. For the things you like doing your own way you can also write
your own functions or use compdef to make _default be called there. (Unless
you tell us more exactly what and where you do or don't want whatever, we
can't help you much more than this, I think ;-).


Bye
  Sven


                 reply	other threads:[~2001-12-11 12:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=7D865FB0D0A1D5118B6E000347055BBB1484A2@G9JNT.mgb01.telekom.de \
    --to=sven.wischnowsky@t-systems.de \
    --cc=zsh-workers@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).