Skip to content

Instantly share code, notes, and snippets.

@phstc
Created July 20, 2011 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phstc/1096109 to your computer and use it in GitHub Desktop.
Save phstc/1096109 to your computer and use it in GitHub Desktop.
My .bash_profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
alias ls="ls -G"
alias wget="curl -O"
# alias vim="/Applications/MacVim-7_3-53/mvim"
# MacPorts Installer addition on 2009-07-28_at_13:27:49: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
# MacPorts Installer addition on 2009-07-28_at_13:27:49: adding an appropriate MANPATH variable for use with MacPorts.
export MANPATH=/opt/local/share/man:$MANPATH
# Finished adapting your MANPATH environment variable for use with MacPorts.
export PATH="/usr/local/git/bin:$PATH"
##
# Your previous /Users/pablo/.profile file was backed up as /Users/pablo/.profile.macports-saved_2010-02-18_at_22:44:50
##
# MacPorts Installer addition on 2010-02-18_at_22:44:50: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
# To run tests in Gesture Translate
# http://github.com/phstc/gtranslate
export XULRUNNER_BIN=/Applications/Firefox.app/Contents/MacOS/firefox-bin
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
SCALA_HOME="/opt/scala/current"
PATH=$SCALA_HOME/bin:$PATH
source /opt/local/share/doc/git-core/contrib/completion/git-completion.bash
if [ -f /opt/local/etc/bash_completion ]; then
. /opt/local/etc/bash_completion
fi
# export PS1='\w $(__git_ps1 "\[\e[31m\]:%s""]")\[\e[0m\] > '']'
# export PS1='\h:\W$(__git_ps1 "(%s)") \u\$ '
# export PS1='\w$(__git_ps1 "(%s)") '
export PS1='\h:\W$(__git_ps1 "(\[\e[31m\]%s\[\e[0m\])") \u\$ '
export GIT_PS1_SHOWDIRTYSTATE=true
export GIT_PS1_SHOWSTASHSTATE=true
export GIT_PS1_SHOWUNTRACKEDFILES=true
export GIT_PS1_SHOWUPSTREAM=auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment