diff options
author | hut <hut@lavabit.com> | 2013-02-21 23:56:56 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-02-21 23:56:56 +0100 |
commit | 527bba304722a90f3bf4de81a15b6680ce3ea68c (patch) | |
tree | 447d8ab6f5294a06d31583680572f261b5d8f66f /ranger | |
parent | cb5c9a51c28a77f981a109e109bbf14874f62009 (diff) | |
download | ranger-527bba304722a90f3bf4de81a15b6680ce3ea68c.tar.gz |
config/commands: fix ":find .."
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/config/commands.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index 7c6a7680..dca6cbb9 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -344,7 +344,10 @@ class find(Command): def execute(self): if self.quick(): - self.fm.move(right=1) + if self.rest(1) == '..': + self.fm.move(left=1) + else: + self.fm.move(right=1) self.fm.block_input(0.5) else: self.fm.cd(self.rest(1)) |