Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: compinit prints out last functions
- X-seq: zsh-users 11827
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: "Mike Hostetler" <hostetlerm@xxxxxxxxx>
- Subject: Re: compinit prints out last functions
- Date: Mon, 10 Sep 2007 19:41:46 +0100
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <c60e627c0709081943g59677e3am2577ff07caefdba4@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <c60e627c0709071227q5aec91cbjbff5bbf9a3bb2eba@xxxxxxxxxxxxxx> <20070907210111.2633a1f7.p.w.stephenson@xxxxxxxxxxxx> <c60e627c0709071328p4b3fb78dvea1513d7ea66d0b6@xxxxxxxxxxxxxx> <20070908182439.abfbda96.p.w.stephenson@xxxxxxxxxxxx> <c60e627c0709081943g59677e3am2577ff07caefdba4@xxxxxxxxxxxxxx>
On Sat, 8 Sep 2007 21:43:17 -0500
"Mike Hostetler" <hostetlerm@xxxxxxxxx> wrote:
> +/cygdrive/h/.zcompdump:19> autoload -Uz
>
> compdump () {
>...
This is why you're getting the output. "autoload -Uz" is running
without arguments, so it's printing the autoloads. However, next we
need to know why it's running without arguments... there should be a
long list of completion functions there. (You could try "rm
/cygdrive/h/.zcompdump", but I suspect the next time it will simply
create that line again empty.)
What's supposed to happen is that the variable $fpath gives a list of
directories that contain completion functions. Run "print -l $fpath" to
see. You should see it includes something like
"/usr/local/share/zsh/4.3.4/functions" (depending on the version and
where zsh was installed), which has all the completion functions in it.
I would guess in your case that's missing from fpath. It should be
included by default; you need to find out what's changing it. Do the
"zsh -x" trick again or use any output you already have and have a look for
lines that contain "FPATH=" or "fpath=".
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author