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
export JAVA_HOME=$(/usr/libexec/java_home -v1.7) | |
export MAVEN_OPTS="-Xmx256m" | |
export PATH="/opt/mvn/bin:$PATH" | |
export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/sbin:$PATH" #MacPorts | |
# Git branch in prompt. | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\033[0;33m\]\W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ " |