mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 04:51:54 +08:00
parent
83df5ea660
commit
efc3846fcf
@ -6,8 +6,8 @@ if command grep --color=auto --help 1>/dev/null 2>/dev/null
|
|||||||
if not set -q GREP_COLOR
|
if not set -q GREP_COLOR
|
||||||
set -gx GREP_COLOR '97;45'
|
set -gx GREP_COLOR '97;45'
|
||||||
end
|
end
|
||||||
if not set -q GREP_OPTIONS
|
function grep
|
||||||
set -gx GREP_OPTIONS --color=auto
|
command grep --color=auto $argv
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user