From e0a24ff235dc024c9b1d57eb648082da4166d9f8 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 18 Feb 2013 00:24:56 +0100 Subject: config/commands: remove "--color=always" from :grep this avoids garbled output for a pager that doesn't pass through ansi codes to the terminal --- ranger/config/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/config/commands.py b/ranger/config/commands.py index 5f6c6b2b..7c6a7680 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -1142,7 +1142,7 @@ class grep(Command): def execute(self): if self.rest(1): - action = ['grep', '--color=always', '--line-number'] + action = ['grep', '--line-number'] action.extend(['-e', self.rest(1), '-r']) action.extend(f.path for f in self.fm.thistab.get_selection()) self.fm.execute_command(action, flags='p') -- cgit 1.4.1-2-gfad0