mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
shell is main
This commit is contained in:
parent
9587140204
commit
b93d4e03a0
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ class Shell(Cmd):
|
|||
env = builtins.__xonsh_env__
|
||||
self.ctx = ctx if ctx is not None else \
|
||||
xonshrc_context(rcfile=env.get('XONSHRC', None), execer=self.execer)
|
||||
self.ctx['__name__'] = '__main__'
|
||||
self.completer = Completer()
|
||||
self.buffer = []
|
||||
self.need_more_lines = False
|
||||
|
|
Loading…
Add table
Reference in a new issue