summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/config/commands.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index 13b2e060..367a4a0b 100644
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -1115,6 +1115,9 @@ class scout(Command):
         flags   = self.flags
         pattern = self.pattern
 
+        if pattern == ".":
+            return re.compile("")
+
         # Handle carets at start and dollar signs at end separately
         if pattern.startswith('^'):
             pattern = pattern[1:]