Blame fish-grep-2.patch

Andy Lutomirski 896ea8
From 190cac07a3ff7cd2c65ac24b600808e7c1674412 Mon Sep 17 00:00:00 2001
Andy Lutomirski 896ea8
From: David Adam <zanchey@ucc.gu.uwa.edu.au>
Andy Lutomirski 896ea8
Date: Tue, 25 Nov 2014 08:48:10 +0800
Andy Lutomirski 896ea8
Subject: [PATCH] grep.fish: don't set GREP_COLOR
Andy Lutomirski 896ea8
Andy Lutomirski 896ea8
grep will fall back to the default colors.
Andy Lutomirski 896ea8
Andy Lutomirski 896ea8
Closes #1316.
Andy Lutomirski 896ea8
---
Andy Lutomirski 896ea8
 share/functions/grep.fish | 3 ---
Andy Lutomirski 896ea8
 1 file changed, 3 deletions(-)
Andy Lutomirski 896ea8
Andy Lutomirski 896ea8
diff --git a/share/functions/grep.fish b/share/functions/grep.fish
Andy Lutomirski 896ea8
index cd7c31baffcf..73f21922dc6f 100644
Andy Lutomirski 896ea8
--- a/share/functions/grep.fish
Andy Lutomirski 896ea8
+++ b/share/functions/grep.fish
Andy Lutomirski 896ea8
@@ -3,9 +3,6 @@
Andy Lutomirski 896ea8
 #
Andy Lutomirski 896ea8
 
Andy Lutomirski 896ea8
 if command grep --color=auto --help 1>/dev/null 2>/dev/null
Andy Lutomirski 896ea8
-	if not set -q GREP_COLOR
Andy Lutomirski 896ea8
-		set -gx GREP_COLOR '97;45'
Andy Lutomirski 896ea8
-	end
Andy Lutomirski 896ea8
 	function grep
Andy Lutomirski 896ea8
 		command grep --color=auto $argv
Andy Lutomirski 896ea8
 	end
Andy Lutomirski 896ea8
-- 
Andy Lutomirski 896ea8
2.1.0
Andy Lutomirski 896ea8