aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/functions/grep.fish4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/functions/grep.fish b/share/functions/grep.fish
index b0dc9586..cd7c31ba 100644
--- a/share/functions/grep.fish
+++ b/share/functions/grep.fish
@@ -6,8 +6,8 @@ if command grep --color=auto --help 1>/dev/null 2>/dev/null
if not set -q GREP_COLOR
set -gx GREP_COLOR '97;45'
end
- if not set -q GREP_OPTIONS
- set -gx GREP_OPTIONS --color=auto
+ function grep
+ command grep --color=auto $argv
end
end