diff options
author | hut <hut@lavabit.com> | 2010-05-30 02:45:51 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-05-30 02:45:51 +0200 |
commit | 40fcbc3d8bde9dd226f0d2fe16cf4126bdcc02c7 (patch) | |
tree | 8a99224cb6eaead06761eee63f2616df782196a0 /ranger | |
parent | f01238dc2a9ee6675a977ee0c1c5253ad489f3fa (diff) | |
download | ranger-40fcbc3d8bde9dd226f0d2fe16cf4126bdcc02c7.tar.gz |
main: default value for $SHELL = 'bash'
Diffstat (limited to 'ranger')
-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 |