mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
c20b80dda3
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ def xexec(args, stdin=None):
|
|||
def bash_aliases():
|
||||
"""Computes a dictionary of aliases based on Bash's aliases."""
|
||||
try:
|
||||
s = subprocess.check_output(['bash', '-i'],
|
||||
s = subprocess.check_output(['bash', '-i', '-l'],
|
||||
input='alias',
|
||||
stderr=subprocess.PIPE,
|
||||
universal_newlines=True)
|
||||
|
|
|
@ -480,7 +480,7 @@ def bash_env():
|
|||
if hasattr(builtins, '__xonsh_env__'):
|
||||
currenv = builtins.__xonsh_env__.detype()
|
||||
try:
|
||||
s = subprocess.check_output(['bash', '-i'],
|
||||
s = subprocess.check_output(['bash', '-i', '-l'],
|
||||
input='env',
|
||||
env=currenv,
|
||||
stderr=subprocess.PIPE,
|
||||
|
|
Loading…
Add table
Reference in a new issue