How to get rid of grep: warning: GREP_OPTIONS is deprecated; use an alias or script `?

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

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

Following the instructions in [SOLVED] grep: warning: GREP_OPTIONS deprecated does not help. How can I get rid of this warning?

+4
source share
2 answers

The following setting in ~/.zpreztorccaused an annoying warning message:

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

I just commented on this, and now everything is in order. The warning has disappeared.

+2
source

Just disable the environment variable using:

unset GREP_OPTIONS
+2
source

All Articles