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

Re: Really weird bug



>zagzig<69> for p in %h
>> do echo "$p"
>> done
>fg
>%h

Compare with:

% disable fg
% %1
zsh: command not found: fg

A bare job specification gets rewritten with fg, so can't be executed
if fg is disabled.  (()) math is similarly dependent on let.  I think
this is a bug, but it's not easy to fix.

As for why this rewriting is being applied after in, this is obviously
a separate bug.

-zefram




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