Skip to content

Instantly share code, notes, and snippets.

# for bash
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac
## COLOR
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto -l'
alias grep='grep --color=auto'