Skip to content

Instantly share code, notes, and snippets.

@filipebarcos
Created June 29, 2012 20:19
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 filipebarcos/3020405 to your computer and use it in GitHub Desktop.
Save filipebarcos/3020405 to your computer and use it in GitHub Desktop.
My .bash_profile configuration
#export
export EC2_HOME=$HOME/.ec2/ec2-api-tools
export MAVEN_HOME=$HOME/Desenvolvimento/apache-maven-3.0.3/
export RUBY_HOME=/usr/local/Cellar/ruby/1.9.3-p125
export PATH=$MAVEN_HOME/bin:$JAVA_HOME/bin:/usr/local/mysql/bin:$RUBY_HOME/bin:$EC2_HOME/bin:$PATH
export GREP_OPTIONS="--color=auto"
export GREP_COLOR="4;33"
export CLICOLOR="auto"
export PS1='\n[\u] \[\033[1;33m\]\w\[\033[0m\] \[\033[1;32m\]$(__git_ps1)\[\033[0m\] \n\$ '
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
#alias
alias ls="ls -Ga"
alias cls="clear"
alias mysql=/usr/local/mysql/bin/mysql
alias mysqladmin=/usr/local/mysql/bin/mysqladmin
source ~/.git-completion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment