mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
ea0005e16d
darcs-hash:20060220130203-ac50b-feb426f6450a0bbd17cb9dacdca94d4d5b72c113.gz
13 lines
226 B
Fish
13 lines
226 B
Fish
#
|
|
# Match colors for grep, if supported
|
|
#
|
|
|
|
if 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 '97;45'
|
|
end
|
|
end
|
|
|