Created
June 25, 2013 21:01
-
-
Save puriney2/5862349 to your computer and use it in GitHub Desktop.
BASH: color
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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