Created
September 23, 2011 09:01
-
-
Save digal/1236985 to your computer and use it in GitHub Desktop.
Digal's .bash_profile
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
# ANSI color codes | |
RS="\[\033[0m\]" # reset | |
HC="\[\033[1m\]" # hicolor | |
UL="\[\033[4m\]" # underline | |
HC="\[\033[5m\]" # blink | |
INV="\[\033[7m\]" # inverse background and foreground | |
FBLK="\[\033[30m\]" # foreground black | |
FRED="\[\033[31m\]" # foreground red | |
FGRN="\[\033[32m\]" # foreground green | |
FYEL="\[\033[33m\]" # foreground yellow | |
FBLE="\[\033[34m\]" # foreground blue | |
FMAG="\[\033[35m\]" # foreground magenta | |
FCYN="\[\033[36m\]" # foreground cyan | |
FWHT="\[\033[37m\]" # foreground white | |
BBLK="\[\033[40m\]" # background black | |
BRED="\[\033[41m\]" # background red | |
BGRN="\[\033[42m\]" # background green | |
BYEL="\[\033[43m\]" # background yellow | |
BBLE="\[\033[44m\]" # background blue | |
BMAG="\[\033[45m\]" # background magenta | |
BCYN="\[\033[46m\]" # background cyan | |
BWHT="\[\033[47m\]" # background white | |
export GIT_PS1_SHOWDIRTYSTATE=true | |
export EDITOR=nano | |
export JAVA_HOME=$(/usr/libexec/java_home) | |
export SBT_OPTS="-XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m" | |
PS1="${FCYN}┌─[$FWHT \u@\h $FCYN]─[$FWHT\w$FYEL\$(__git_ps1)$FCYN]–[$FWHT \t $FCYN]\n${FCYN}└─[$FWHT\$\`if [ \$? = 0 ]; then echo -e ''; else echo -e '$FRED*'; fi\`$FCYN]> $RS" | |
export GRADLE_OPTS="-Xmx512m -XX:PermSize=256m -Dorg.gradle.daemon=false" | |
export NODE_PATH="/usr/local/lib/node/" | |
export PATH="~/bin:/usr/local/share/npm/bin:/usr/local/Cellar/ruby/1.9.2-p136/bin:$PATH" | |
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi | |
alias g='git' | |
[[ -s "/Users/digal/.rvm/scripts/rvm" ]] && source "/Users/digal/.rvm/scripts/rvm" # This loads RVM into a shell session. | |
. ~/bin/resty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment