zsh-workers
 help / color / mirror / code / Atom feed
* Re: generic filename completion like "foo --file=ba<tab>"
@ 2001-12-11 12:41 Wischnowsky, Sven
  0 siblings, 0 replies; only message in thread
From: Wischnowsky, Sven @ 2001-12-11 12:41 UTC (permalink / raw)
  To: zsh-workers


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-11 12:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-11 12:41 generic filename completion like "foo --file=ba<tab>" Wischnowsky, Sven

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