dotfiles/shell/colors
2023-05-22 21:03:50 +02:00

19 lines
439 B
Bash
Executable file

# add some color on grep match
alias grep=grep --color=auto
# ls colors
# case "$OSTYPE" in
# *darwin*)
# export CLICOLOR=1
# alias ls="ls --color=auto"
# ;;
# *linux*)
# alias ls="ls --color"
# ;;
# esac
# gnome terminal knows colors
[[ "$COLORTERM" == "gnome-terminal" ]] && export TERM=xterm-256color
[[ "$COLORTERM" == "xfce4-terminal" ]] && export TERM=xterm-256color
# vim: ft=bash