summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-05-30 02:45:51 +0200
committerhut <hut@lavabit.com>2010-05-30 02:45:51 +0200
commit40fcbc3d8bde9dd226f0d2fe16cf4126bdcc02c7 (patch)
tree8a99224cb6eaead06761eee63f2616df782196a0 /ranger
parentf01238dc2a9ee6675a977ee0c1c5253ad489f3fa (diff)
downloadranger-40fcbc3d8bde9dd226f0d2fe16cf4126bdcc02c7.tar.gz
main: default value for $SHELL = 'bash'
Diffstat (limited to 'ranger')
-rw-r--r--ranger/__main__.py3
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
 
8'>d326f24d ^
c7bfda90 ^



e087f6d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26