mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
small change of kwarg to xonshrc_context
to keep things compatible with changes to environ.py which allow for a system-wide xonshrc in addition to the user defined file
This commit is contained in:
parent
3f769c85c5
commit
6383654180
1 changed files with 1 additions and 1 deletions
|
@ -60,6 +60,6 @@ class Shell(object):
|
|||
self.ctx = ctx
|
||||
else:
|
||||
rc = env.get('XONSHRC')
|
||||
self.ctx = xonshrc_context(rcfile=rc, execer=self.execer)
|
||||
self.ctx = xonshrc_context(rcfiles=rc, execer=self.execer)
|
||||
builtins.__xonsh_ctx__ = self.ctx
|
||||
self.ctx['__name__'] = '__main__'
|
||||
|
|
Loading…
Add table
Reference in a new issue