export GREP_OPTIONS='--color=always'
export GREP_COLOR='1;35;40'
======
execute commands as it is
$ export GREP_OPTIONS='--color=always'
$ export GREP_COLOR='1;35;40'
=========
export GREP_COLOR='1;37;41'
alias grep='grep --color=auto'
====================
This is for green color
No comments:
Post a Comment