This is the exact same color in Apple Terminal, but improves legibility in Gnome Terminal. Also silences stderr from which.
7 lines
134 B
Fish
7 lines
134 B
Fish
function fgrep
|
|
if which ggrep >/dev/null ^&1
|
|
command ggrep -F --color=auto $argv
|
|
else
|
|
command fgrep --color=auto $argv
|
|
end
|
|
end
|