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

Re: ehh... zsh: correct 'cvs' to '_cvs' [nyae]? n



Andrej Borsenkow wrote:
> The problem is, of course, =cmd won't be the same as /path/to/cmd.exe. But
> it the same with my patch as well.

That might be worth a special case, since the assumption is usually that
=cmd returns a file.

However, `=' doesn't always return a file in any case, since it expands
aliases.  That tends to annoy me since it means the behaviour is not well
defined.  What's more, it seems to try the command path first, then expand
aliases, which is not the usual search order; and it never searches for
functions.  So this seems to me more confusing than useful.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************



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