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

Re: more dependencies on emulation



On Jul 19,  3:34am, Zoltan Hidvegi wrote:
> Subject: Re: more dependencies on emulation
> > In zsh's ksh emulation mode with this patch applied, ~$USER works, but
> 
> Do you mean that it gives the home directory of $USER?  It did not do that
> before the patch.

Right; I meant the patch is correct in that case, but wrong in the other
case (unless IGNORE_BRACES is not set).

> > ~{pfalstad,rc} fails unless IGNORE_BRACES is also unset.
> 
> IGNORE_BRACES should probably be not set if zsh is invoked as ksh.  I'll
> change that.

That's an OK solution too.

> There is no standard for brace expansion and probably that's why shells are
> differerent here.

Yup.  The only remaining question is, do we care about being able to do
the Bash-equivalent case?  I suspect not.




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