#783: Don't rely on $SHELL for detecting shell
This commit is contained in:
@@ -13,6 +13,7 @@ class Bash(Generic):
|
||||
return '''
|
||||
function {name} () {{
|
||||
TF_PYTHONIOENCODING=$PYTHONIOENCODING;
|
||||
export TF_SHELL=bash;
|
||||
export TF_ALIAS={name};
|
||||
export TF_SHELL_ALIASES=$(alias);
|
||||
export TF_HISTORY=$(fc -ln -10);
|
||||
|
||||
Reference in New Issue
Block a user