From ee7f171116b57514e2ce11cb3b7932a22478be79 Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 11 Dec 2010 22:53:38 +0100 Subject: defaults.commands: let open_with use selection, not just 1 file --- ranger/defaults/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.4.1-2-gfad0