Skip to content

Instantly share code, notes, and snippets.

@chensoren
Created June 30, 2012 09:16
Show Gist options
  • Save chensoren/3023062 to your computer and use it in GitHub Desktop.
Save chensoren/3023062 to your computer and use it in GitHub Desktop.
bash_profile
# terminal color setting
#terminal color setting
export TERM=xterm-color
export CLICOLOR=1
export LSCOLORS=gxfxaxdxcxegedabagacad
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
# color the ls output
alias ls='ls -G'
# shortcut for detailed listing
alias ll='ls -GFlash'
alias la='ls -a'
alias grep='grep --color=auto'
# The Tree Command for Mac
alias tree="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment