Last active
August 29, 2015 14:19
-
-
Save minhanhhere/4702ef0b2a35a5e055de to your computer and use it in GitHub Desktop.
A .bash_profile for MAC
This file contains hidden or 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
## INSTRUCTION | |
## Add these lines at the end of your ~/.bash_profile | |
## If the file is not there, create it with: | |
## touch ~/.bash_profile | |
PS1='\[\033[0;93m\]\u\[\033[0;97m\]@\[\033[0;96m\]\h\[\033[00m\]:\[\033[0;91m\]\w\[\033[00m\]\$ ' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
alias ll='ls -alF' | |
alias la='ls -A' | |
alias l='ls -CF' | |
alias edit='open -a TextEdit' | |
export CLICOLOR=1 | |
export JAVA_HOME=$(/usr/libexec/java_home) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment