remove superfluous environment variable

This commit is contained in:
adam j hartz 2015-03-20 22:43:40 -04:00
parent b35b91b7cf
commit 5d465e343b

View file

@ -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: