diff options
-rw-r--r-- | ranger/core/main.py | 2 |
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: |