From a7af415b6a93e2699bec1082f56b3106d937a6cf Mon Sep 17 00:00:00 2001 From: Grissiom Date: Sun, 19 Sep 2010 13:56:30 +0800 Subject: [PATCH] call original grep in sgrep functions/grep.fish will set the GREP_OPTIONS, which will ruin sgrep's effort. --- share/functions/sgrep.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/functions/sgrep.fish b/share/functions/sgrep.fish index c3515787a..77acc9293 100644 --- a/share/functions/sgrep.fish +++ b/share/functions/sgrep.fish @@ -1,5 +1,5 @@ function sgrep -d "Call grep without honoring GREP_OPTIONS settings" set -l GREP_OPTIONS - grep $argv -end \ No newline at end of file + command grep $argv +end