Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH _cd: completion fails for



Carlo <catull <at> gmail.com> writes:

> Bart Schaefer <schaefer <at> brasslantern.com> writes:
> 
> > After looking at this for a while I think you are close, but not quite
> > right.  There are two uses of $tmpWpath, but I believe only one of them
> > needs additional quoting.
> > 
> > This also needs to be careful to quote each element of the array before
> > the elements are joined, because the reference is inside double-quotes.
> 
> Hello Bart
> 
> I am afraid, your patch doesn't work for me.
> 
> It happens when it type
> 
>      cd /usr/lo<TAB>
> 
> as well as
> 
>      ls /tmp/g<TAB>

Found a solution.

It turns out the gcc I used (gcc (GCC) 4.9.0 20130811 (experimental)) built
many open source tools successfully, just not zsh.

It linked against a strange libiconv library, which gave a

With clang (Apple LLVM version 5.0 (clang-500.2.79)) the resulting zsh i
working now; did not have to apply your patch to _cd.


Regards,
--
Carlo




Messages sorted by: Reverse Date, Date, Thread, Author