Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Mail-Copies-To: nobody
To: cygwin@cygwin.com
Subject: Re: Zsh filename completion sluggishness?
Mail-Followup-To: cygwin@cygwin.com
From: Matt Armstrong <matt@lickey.com>
Date: Fri, 14 Feb 2003 10:12:54 -0700
In-Reply-To: <Pine.LNX.4.21.0302132230380.9273-100000@gremlin.fruitbat.org> ("Peter
 A. Castro"'s message of "Thu, 13 Feb 2003 23:33:26 -0800 (PST)")
Message-ID: <874r76ss4p.fsf@squeaker.lickey.com>
User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2
References: <Pine.LNX.4.21.0302132230380.9273-100000@gremlin.fruitbat.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: by AMaViS snapshot-20020300

"Peter A. Castro" <doctor@fruitbat.org> writes:

> I've edited your output to show just the interesting things :)
>
>> CDPATH=''
>> FIGNORE=''
>> FPATH=/usr/share/zsh/site-functions:/usr/share/zsh/4.0.6/functions
>> PATH='.:/usr/bin:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/i/VCI/RTX SDK/bin:/i/Common Files/Adaptec Shared/System:/i/Rational/ClearCase/bin:/i/Rational/common:/i/Rational/ClearQuest:/c/BC5/BIN:/c/emacs-21.2/bin:/c/util:/c/emtprog:/c/j2sdk1.4.0_02/bin:/f/vc98/bin:/f/Common/MSDev98/Bin:/f/Common/Tools/WinNT:/f/Common/Tools'
>> path=(. /usr/bin /c/WINNT/system32 /c/WINNT /c/WINNT/System32/Wbem '/i/VCI/RTX SDK/bin' '/i/Common Files/Adaptec Shared/System' /i/Rational/ClearCase/bin /i/Rational/common /i/Rational/ClearQuest /c/BC5/BIN /c/emacs-21.2/bin /c/util /c/emtprog /c/j2sdk1.4.0_02/bin /f/vc98/bin /f/Common/MSDev98/Bin /f/Common/Tools/WinNT /f/Common/Tools)
>
> Well, your path doesn't look quite right.  Remove the quotes from
> the directory paths.

This is arguably a bug in cygwin and or both zsh and bash.

In the Win32 world, quotes around path elements are valid.  If I have:

    PATH="c:\foo bar"

cmd.exe will find executables in that dir.

When I run bash or zsh, things in "c:\foo bar" aren't found.



> Zsh doesn't like quotes embedded in the actual directory names and
> it won't strip them off before using them.

Maybe cygwin should do this in the PATH environment variable it
exposes to cygwin apps.  Bash seems confused by this as well, unlike
Win32 programs.

-- 
matt

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

