diff options
-rwxr-xr-x | ranger/config/commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index 9c1331df..6000b504 100755 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -152,10 +152,10 @@ class cd(Command): if self.arg(1) == '-r': start = self.start(2) - rel_dest = self.arg(2) + rel_dest = self.rest(2) else: start = self.start(1) - rel_dest = self.arg(1) + rel_dest = self.rest(1) bookmarks = [v.path for v in self.fm.bookmarks.dct.values() if rel_dest in v.path] |