def exit(args, stdin=None): # pylint:disable=redefined-builtin,W0622 """Sends signal to exit shell.""" builtins.__xonsh_exit__ = True kill_all_jobs() print() # gimme a newline return None, None