Skip to content

Instantly share code, notes, and snippets.

@puriney2
Created June 25, 2013 21:01
Show Gist options
  • Save puriney2/5862349 to your computer and use it in GitHub Desktop.
Save puriney2/5862349 to your computer and use it in GitHub Desktop.
BASH: color
# OS X termial theme
# tell ls to be colourful
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
# tell grep to highlight matches
export GREP_OPTIONS='--color=auto'
# alias
alias ls='ls -FGal'
# set custom bash prompt
#export PS1="\[\033[1;34m\]\!\[\033[0m\] \[\033[1;35m\]\u\[\033[0m\]:\[\033[1;35m\]\W\[\033[0m\]$ "
export PS1="\[\e]2;\u@\H \w\a\e[32;1m\]>\[\e[0m\]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment