I have zsh + zprezto installed on my Arch linux. Every time I open the console the annoying warning is being displayed:

grep: warning: GREP_OPTIONS is deprecated; please use an alias or script

Following the instructions in [SOLVED] grep: warning: GREP_OPTIONS is deprecated doesn't help. How can I get rid of this warning?

share|improve this question
up vote 2 down vote accepted

The following setting in ~/.zpreztorc caused the annoying warning message to be displayed:

zstyle ':prezto:*:*' color 'yes'

I just commented it out and it's fine now. The warning disappeared.

share|improve this answer

Just unset the environment variable using:

unset GREP_OPTIONS
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.