diff options
author | hut <hut@lavabit.com> | 2011-10-27 23:46:24 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-27 23:46:24 +0200 |
commit | dd06c0e65ecc829281d69206ac7827b83d0da97a (patch) | |
tree | c21c2f56a3c90916ccbbc48a9df93d3e68c9fd01 /ranger | |
parent | 4b61759c89d22daa35ab6b6f3c7f48af34af6241 (diff) | |
download | ranger-dd06c0e65ecc829281d69206ac7827b83d0da97a.tar.gz |
Fixed tab completion of "open_with" command
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/defaults/commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py index d564d4f6..6cfeff17 100644 --- a/ranger/defaults/commands.py +++ b/ranger/defaults/commands.py @@ -307,12 +307,12 @@ class open_with(Command): return app, flags, int(mode) - def _get_tab(self): + def tab(self): data = self.rest(1) if ' ' not in data: all_apps = self.fm.apps.all() if all_apps: - return (app for app in all_apps if app.startswith(data)) + return (self.firstpart + app for app in all_apps if app.startswith(data)) return None |