From 40fcbc3d8bde9dd226f0d2fe16cf4126bdcc02c7 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 30 May 2010 02:45:51 +0200 Subject: main: default value for $SHELL = 'bash' --- ranger/__main__.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit 1.4.1-2-gfad0