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

RE: PATCH: Re: pws-10 RE: zsh-3.1.5-pws-9: _path_files and symbolic links



>
> The question is what one can find under `/u/'. If there is anything
> matching `l/l/T' the behavior might be correct (since it can't expand
> `u' to `usr' then).

Nope. It is the problem of exact match. ``/u'' is matched _exactly_ and
hence ``/usr'' is never even tried. I have no ``/SAM/u'', that's why
``/SAM/usr'' is matched. It does not matter, what follows:

itsrm1% ls -F /u
pub/  sni/

Now I ask myself if it's desirable. As my example shows, it could be at
least unexpected  :-) And note, that ``cd /u<TAB>'' correctly lists ``/usr''
as possible match.

/andrej



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