Enable ls
colors in Mac OS X
This commit is contained in:
parent
9b7f037b69
commit
6b59f379b6
|
@ -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'`
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user