Improve shell handling of zeus commands.