Fixed warning: grep: warning: GREP_COLOR is deprecated; use GREP_COLORS.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 25 Dec 2022 16:44:57 +0200
changeset 1010 1616bc25541c
parent 1009 3f4f94c38069
child 1011 48975083716e
Fixed warning: grep: warning: GREP_COLOR is deprecated; use GREP_COLORS.
.bashrc
--- a/.bashrc	Thu Dec 22 16:47:44 2022 +0200
+++ b/.bashrc	Sun Dec 25 16:44:57 2022 +0200
@@ -163,7 +163,7 @@
 complete -F _mypath mypath
 
 # LANG=C for speed.
-alias grep='GREP_COLOR="31;47" LANG=C grep --color=auto'
+alias grep='GREP_COLORs="31;47" LANG=C grep --color=auto'
 case $OSTYPE in
   linux*|cygwin) alias ls='ls --color=auto' ;;
 esac