Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Lack of any functionality in new completion
- X-seq: zsh-workers 5888
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx, Josh Howard <jrh@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Lack of any functionality in new completion
- Date: Tue, 23 Mar 1999 10:07:49 +0100
- In-reply-to: "Josh Howard"'s message of "22 Mar 1999 17:39:10 NFT." <yfgaex5q91d.fsf@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Josh Howard wrote:
> I suppose I must have some sort of gross oversight when it comes to
> the new completion, but...It seems that I'm completely and utterly
> unable to get any semblance of completion going in 3.1.5-pws-13. Mind
> you, I hadn't ever gotten it working, but I figured I might as well
> start at the newest. I set an fpath, used compinit -d, tried a few zle
> tricks to get ^I to complete here and there, but it would seem that
> when I execute compinit -d, things tend to stop working.
Remember you need `. compinit -d' or `source compinit -d' to get things to
work --- executing it as a shell script won't do anything. The bindings
should then be set automatically, provided they were previously bound to
the usual old-style completion functions; you shouldn't need to do any
rebinding yourself. Try doing `set -x' and seeing what functions get
called when you hit tab; you should start off inside the function
_main_complete. If nothing at all shows up, then the functions probably
aren't being found, either a problem with $fpath or it hasn't been
autoloaded (or both, if compinit didn't find anything). Also try
`functions' and see if you get a long list of undefined functions beginning
with `_', as you should.
Somebody will probably write some installation code when they get a chance.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author