diff options
author | hut <hut@lavabit.com> | 2010-09-11 14:26:31 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-09-11 14:26:31 +0200 |
commit | b1c1e1d88bc511306e4d786dea4234f1cbc6f041 (patch) | |
tree | 0889bf40399a342c9cba75dad77ecd4d7db9cb95 /ranger | |
parent | ff64e3730b653fb23f0b6a4688437ab141efb19d (diff) | |
download | ranger-b1c1e1d88bc511306e4d786dea4234f1cbc6f041.tar.gz |
defaults.commands: Removed "quick" method from :cd
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/defaults/commands.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py index b6bf7e2b..d3c05023 100644 --- a/ranger/defaults/commands.py +++ b/ranger/defaults/commands.py @@ -86,18 +86,6 @@ class cd(Command): def tab(self): return self._tab_only_directories() - def quick(self): - from os.path import isdir, join, normpath - line = parse(self.line) - cwd = self.fm.env.cwd.path - - rel_dest = line.rest(1) - if not rel_dest: - return False - - abs_dest = normpath(join(cwd, rel_dest)) - return rel_dest != '.' and isdir(abs_dest) - class search(Command): def execute(self): |