Skip to content

Instantly share code, notes, and snippets.

@timothyandrew
Created February 26, 2020 17:32
Show Gist options
  • Save timothyandrew/0e3ee16448160b01325551385026bac1 to your computer and use it in GitHub Desktop.
Save timothyandrew/0e3ee16448160b01325551385026bac1 to your computer and use it in GitHub Desktop.
color
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment