diff options
author | hut <hut@lavabit.com> | 2010-12-11 22:53:38 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-12-11 22:53:38 +0100 |
commit | ee7f171116b57514e2ce11cb3b7932a22478be79 (patch) | |
tree | 54e3056572c9bf6873e44b669c35f571d3b34897 /ranger | |
parent | a30885773f28e93b8bbe716a4ba444e90e3ba4d8 (diff) | |
download | ranger-ee7f171116b57514e2ce11cb3b7932a22478be79.tar.gz |
defaults.commands: let open_with use selection, not just 1 file
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/defaults/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py index db73ac45..6258d30d 100644 --- a/ranger/defaults/commands.py +++ b/ranger/defaults/commands.py @@ -135,7 +135,7 @@ class open_with(Command): line = parse(self.line) app, flags, mode = self._get_app_flags_mode(line.rest(1)) self.fm.execute_file( - files = [self.fm.env.cf], + files = [f for f in self.fm.env.cwd.get_selection()], app = app, flags = flags, mode = mode) |