delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/09/14:41:46

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 9 Dec 2008 11:39:34 -0800 (PST)
From: "Peter A. Castro" <doctor AT fruitbat DOT org>
To: cygwin AT cygwin DOT 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 DOT 2070501 AT sh DOT cvut DOT cz>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------040302050903040909060803
Content-Type: TEXT/PLAIN; CHARSET=UTF-8; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <Pine DOT LNX DOT 4 DOT 64 DOT 0812091128532 DOT 4752 AT gremlin DOT fruitbat DOT 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 AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT 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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019