Source code for xonsh.shells.dumb_shell

"""A dumb shell for when $TERM == 'dumb', which usually happens in emacs."""

from xonsh.built_ins import XSH
from xonsh.shells.readline_shell import ReadlineShell


[docs] class DumbShell(ReadlineShell): """A dumb shell for when $TERM == 'dumb', which usually happens in emacs.""" def __init__(self, *args, **kwargs): XSH.env["XONSH_COLOR_STYLE"] = "emacs" super().__init__(*args, **kwargs)