diff options
author | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2017-03-12 11:30:37 +0100 |
---|---|---|
committer | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2017-03-12 11:30:37 +0100 |
commit | 18136950652b4928d71f76e5d47875c263a6e9bd (patch) | |
tree | 732b73c90141762fb0f37f54fce664f886b312bc /ranger | |
parent | d9129ca2da43cc9f7c070d9dfe6f676003e5ccbf (diff) | |
download | ranger-18136950652b4928d71f76e5d47875c263a6e9bd.tar.gz |
:cd tab completion again considers the whole line
Important when the directory name contains spaces.
Diffstat (limited to 'ranger')
-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] |