delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/14/12:13:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Mail-Copies-To: nobody
To: cygwin AT cygwin DOT com
Subject: Re: Zsh filename completion sluggishness?
Mail-Followup-To: cygwin AT cygwin DOT com
From: Matt Armstrong <matt AT lickey DOT 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 DOT LNX DOT 4 DOT 21 DOT 0302132230380 DOT 9273-100000 AT gremlin DOT fruitbat DOT org>
MIME-Version: 1.0
X-Virus-Scanned: by AMaViS snapshot-20020300

"Peter A. Castro" <doctor AT fruitbat DOT 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/

- Raw text -


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