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

local/non-local and sub shell exit codes



Hi all,

I just encountered this strange behavior under zsh-5.5.1:

% foo=$(false); echo $?
1
% local foo=$(false); echo $?
0

Is this intended? As I'm pretty sure that this behavior is new...

Best regards,
René



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