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

Suppress print_exit_value for single function



Hello,
in a 1-second sched function, I do:

__ret=$?
...
return $__ret

This solves $? malforming by background task. However, for `setopt
print_exit_value', this leads to constant "zsh: Exit 1" message, every
second.

Can I block `setopt print_exit_value' effects for this sched function or to
all sched functions in general? I think a feature could be added for this,
it looks very reasonable and useful.

-- 
Best regards,
Sebastian Gniazdowski


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