Stop coloring ls

This commit is contained in:
Loic Nageleisen 2023-05-22 21:03:50 +02:00
parent 4dd8ec5738
commit 5301fbffbe
Signed by: lloeki
GPG key ID: D05DAEE6889F94C2

View file

@ -1,7 +1,16 @@
# add some color # add some color on grep match
alias grep=grep --color=auto alias grep=grep --color=auto
CLICOLOR=1;
export CLICOLOR # ls colors
# case "$OSTYPE" in
# *darwin*)
# export CLICOLOR=1
# alias ls="ls --color=auto"
# ;;
# *linux*)
# alias ls="ls --color"
# ;;
# esac
# gnome terminal knows colors # gnome terminal knows colors
[[ "$COLORTERM" == "gnome-terminal" ]] && export TERM=xterm-256color [[ "$COLORTERM" == "gnome-terminal" ]] && export TERM=xterm-256color