diff options
-rw-r--r-- | ranger/core/main.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/core/main.py b/ranger/core/main.py index 1fc35bac..ae7a691c 100644 --- a/ranger/core/main.py +++ b/ranger/core/main.py @@ -180,6 +180,7 @@ def main( fm.select_file(args.selectfile) if args.cmd: + fm.enter_dir(fm.thistab.path) for command in args.cmd: fm.execute_console(command) |