summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/main.py b/ranger/core/main.py
index 560b4c0f..b44f75c8 100644
--- a/ranger/core/main.py
+++ b/ranger/core/main.py
@@ -90,7 +90,7 @@ def main(
         args.selectfile = os.path.abspath(args.selectfile)
         args.paths.insert(0, os.path.dirname(args.selectfile))
 
-    paths = args.paths or ['.']
+    paths = args.paths or [os.environ.get('PWD', os.getcwd())]
     paths_inaccessible = []
     for path in paths:
         try:
46fedc5dd3efa680a7cc8d06671350b75b9'>^
bbdf9df ^
0c2ede5 ^
62cd0b0 ^
974b22c ^
43dba93 ^
974b22c ^

b0eaf51 ^
974b22c ^
6473848 ^
84f49e9 ^
974b22c ^

d394fd1 ^
0c2ede5 ^

974b22c ^
0c2ede5 ^
56b84d3 ^
974b22c ^
513e8aa ^
cef784b ^
974b22c ^


8d20e92 ^
974b22c ^
b0eaf51 ^
974b22c ^


3836d24 ^
56b84d3 ^
84f49e9 ^
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41