aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/grep.fish
diff options
context:
space:
mode:
authorGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2014-11-25 08:47:30 +0800
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2014-11-25 08:47:30 +0800
commitefc3846fcfa6f0bae8312645c41b132c6156b3d1 (patch)
tree5abd3e621ad43284e231805246d0fda92f42635e /share/functions/grep.fish
parent83df5ea6608efac875c92bd7d2fb642b90236653 (diff)
grep.fish: don't use GREP_OPTIONS as it is deprecated
Closes #1825.
Diffstat (limited to 'share/functions/grep.fish')
-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