mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
remove superfluous environment variable
This commit is contained in:
parent
b35b91b7cf
commit
5d465e343b
1 changed files with 0 additions and 3 deletions
|
@ -105,7 +105,6 @@ def multiline_prompt():
|
|||
|
||||
BASE_ENV = {
|
||||
'INDENT': ' ',
|
||||
'XONSH_DIRSTACK': None,
|
||||
'PROMPT': default_prompt,
|
||||
'MULTILINE_PROMPT': '.',
|
||||
'XONSHRC': os.path.expanduser('~/.xonshrc'),
|
||||
|
@ -162,8 +161,6 @@ def default_env(env=None):
|
|||
"""Constructs a default xonsh environment."""
|
||||
# in order of increasing precedence
|
||||
ctx = dict(BASE_ENV)
|
||||
if ctx.get('XONSH_DIRSTACK',None) is None:
|
||||
ctx['XONSH_DIRSTACK'] = []
|
||||
ctx.update(os.environ)
|
||||
ctx.update(bash_env())
|
||||
if env is not None:
|
||||
|
|
Loading…
Add table
Reference in a new issue