1
0

Enable ls colors in Mac OS X

This commit is contained in:
Noah 2016-01-13 11:45:31 -08:00
parent 9b7f037b69
commit 6b59f379b6
2 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,9 @@ elif [ "$TERM" = 'cygwin' ]; then
ENLIGHTENED=1
fi
# Make Mac OS X show colors in the `ls` command.
export CLICOLOR=1
# Custom bash prompt.
git_branch() {
branch=`git branch 2> /dev/null | sed -e '/^[^*]/d' | perl -pe 's/^\*\s+//g'`

View File

@ -9,6 +9,7 @@ export LANG=en_US.UTF-8 # Unicode
setopt prompt_subst # Allow for dynamic prompts
autoload -U colors && colors # Get color aliases
autoload -U compinit && compinit # Better tab completion
export CLICOLOR=1 # Colors in `ls` on Mac OS
export HISTSIZE=2000 # History settings
export HISTFILE="$HOME/.history"
export SAVEHIST=$HISTSIZE