summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger/config/commands.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index 77d73bb8..de3170bb 100755
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -1361,7 +1361,10 @@ class scout(Command):
 
         if self.OPEN_ON_ENTER in flags or \
                 (self.AUTO_OPEN in flags and count == 1):
-            self.fm.move(right=1)
+            if pattern == '..':
+                self.fm.cd(pattern)
+            else:
+                self.fm.move(right=1)
 
         if self.KEEP_OPEN in flags and thisdir != self.fm.thisdir:
             # reopen the console: