diff options
-rwxr-xr-x | ranger/config/commands.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index d177203a..93da7fe2 100755 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -1000,6 +1000,10 @@ class rename_append(Command): self.fm.open_console('rename ' + relpath) return + if os.path.isdir(relpath): + self.fm.open_console('rename ' + relpath) + return + if self._flag_ext_all: pos_ext = re.search(r'[^.]+', basename).end(0) else: |