diff options
Diffstat (limited to 'share/functions/grep.fish')
-rw-r--r-- | share/functions/grep.fish | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/share/functions/grep.fish b/share/functions/grep.fish index b0dc9586..73f21922 100644 --- a/share/functions/grep.fish +++ b/share/functions/grep.fish @@ -3,11 +3,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 |