X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Tue, 9 Dec 2008 11:39:34 -0800 (PST)
From: "Peter A. Castro" <doctor@fruitbat.org>
To: cygwin@cygwin.com
Subject: Re: ZSH completion problem
In-Reply-To: <493EB6B8.2070501@sh.cvut.cz>
Message-ID: <Pine.LNX.4.64.0812091128530.4752@gremlin.fruitbat.org>
References: <493EB6B8.2070501@sh.cvut.cz>
MIME-Version: 1.0
Content-Type: MULTIPART/Mixed; BOUNDARY=------------040302050903040909060803
Content-ID: <Pine.LNX.4.64.0812091128531.4752@gremlin.fruitbat.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

--------------040302050903040909060803
Content-Type: TEXT/PLAIN; CHARSET=UTF-8; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <Pine.LNX.4.64.0812091128532.4752@gremlin.fruitbat.org>

On Tue, 9 Dec 2008, V=E1clav Haisman wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi,

Greetings, V=E1clav,

> I have just updated ZSH and now when completing paths it prints the
> following:=20
>
> _alternative:69: command not found: _path_commands

That's a different symptom than what other people has reported.
But, it could just be from a stale dump file.

If you haven't already done so, please remove your .zcompdump (or
whatever custom dump file you might be using) and re-generate it.

The best way to do this cleanly is to comment out running 'compinit' from
your .zsh* files, exit and start a fresh zsh, then run compinit (answer
yes if it complains about insecure dirs).  Check that .zcompdump is more
than 256 bytes (should be about 33k).  If it's too small, run
   compinit -d .zcompdump
Check .zcompdump again.  If it's still too small, try exiting and
re-starting the shell again and run compinit -d again.

Then you can uncommment running compinit from your .zsh* files
(you might need to add the '-i' option) and things should be good.

One caveat is that DOS style paths (eg: "C:/<tab>") do not seem to tab
complete right now.  It's a know problem that I'm trying to track down.
Let me know if there are other issues.

> Cygcheck thinks the package is complete:
>
> amber2::wilx:~> zsh --version
> zsh --version
> zsh 4.3.9 (i686-pc-cygwin)
>
> amber2::wilx:~> cygcheck -c zsh
> cygcheck -c zsh
> Cygwin Package Information
> Package              Version        Status
> zsh                  4.3.9-1        OK
>
> The cygcheck -s output is attached.
>
> - --
> VH
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
>
> iFYEAREIAAYFAkk+trgACgkQhQBMvHf/WHm+EADeJFXQWUwK76gpoB+ypBhB/gqL
> 1sdnQyycH8yawADg2dKQBQt7+gbLWcQLiBJ2cSPrYtTUQ/+vnAernQ=3D=3D
> =3DmGvN
> -----END PGP SIGNATURE-----
>

--=20
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
 	"Cats are just autistic Dogs" -- Dr. Tony Attwood

--------------040302050903040909060803
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------040302050903040909060803--
