[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: format grep ouput



> Where does that command go? In bashrc?
> 
> So far, I just have the ls alias and this:
> 
> export GREP_OPTIONS='--color=auto'

It's an argument to grep. So you could manually it in with
every grep, alias grep to "grep --color=always" in the style
of ls in ~/.bashrc, or define the GREP_OPTIONS environment
variable as you demonstrate.



Reply to: