mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 01:48:08 +08:00
grep.fish: don't set GREP_COLOR
grep will fall back to the default colors. Closes #1316.
This commit is contained in:
parent
efc3846fcf
commit
190cac07a3
@ -3,9 +3,6 @@
|
||||
#
|
||||
|
||||
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
|
||||
function grep
|
||||
command grep --color=auto $argv
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user