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?
Since GREP_OPTIONS
is deprecated, if you had a value set for it, e.g.
export GREP_OPTIONS='--exclude-dir=__pycache__'
just move it to an alias:
alias grep='grep --exclude-dir=__pycache__'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With