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

Re: Bug with bash emulation regarding ':'



On 2012-01-29 19:53:51 +0100, Mikael Magnusson wrote:
> On 29 January 2012 19:38, Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
> > On 2012-01-29 15:25:13 +0100, Mikael Magnusson wrote:
> >> On 29 January 2012 14:44, Felipe Contreras <felipe.contreras@xxxxxxxxx> wrote:
> >> > emulate bash
> >>
> >> There's no such emulation mode.
> >
> > I think the problem is that "emulate" doesn't return an error
> > if the argument is unsupported.
> 
> Well, there are no unsupported arguments, anything that isn't
> recognized is documented (although not accurately) to enter zsh mode
> :).

Yes, but this is not intuitive. An error would be better, IMHO.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



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