diff options
-rw-r--r-- | ranger/__main__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/__main__.py b/ranger/__main__.py index 61e6c3a2..5f525582 100644 --- a/ranger/__main__.py +++ b/ranger/__main__.py @@ -161,6 +161,9 @@ def main(): try: locale.setlocale(locale.LC_ALL, '') except: print("Warning: Unable to set locale. Expect encoding problems.") + if not 'SHELL' in os.environ: + os.environ['SHELL'] = 'bash' + arg = parse_arguments() ranger.arg = arg |