Zsh filename completion sluggishness?

Matt Armstrong matt@lickey.com
Fri Feb 14 17:45:00 GMT 2003


"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/



More information about the Cygwin mailing list