This is the mail archive of the
mailing list for the Cygwin project.
Re: Zsh filename completion sluggishness?
"Peter A. Castro" <email@example.com> writes:
> I've edited your output to show just the interesting things :)
>> 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:
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html