Update grep colorization

This commit is contained in:
Loic Nageleisen 2020-04-14 15:50:17 +02:00
parent 4d5aba1c5a
commit 120823fd2e

View file

@ -1,7 +1,7 @@
# add some color # add some color
GREP_OPTIONS='--color=auto' alias grep=grep --color=auto
CLICOLOR=1; CLICOLOR=1;
export GREP_OPTIONS CLICOLOR export CLICOLOR
# gnome terminal knows colors # gnome terminal knows colors
[[ "$COLORTERM" == "gnome-terminal" ]] && export TERM=xterm-256color [[ "$COLORTERM" == "gnome-terminal" ]] && export TERM=xterm-256color