Skip to content

Instantly share code, notes, and snippets.

@jmiramant
Last active December 21, 2015 18:19
Show Gist options
  • Save jmiramant/6346385 to your computer and use it in GitHub Desktop.
Save jmiramant/6346385 to your computer and use it in GitHub Desktop.
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
#
BLACK="\[\033[0;30m\]"
RED="\[\033[0;31m\]"
GREEN="\[\033[0;32m\]"
YELLOW="\[\033[0;33m\]"
BLUE="\[\033[0;34m\]"
DEFAULT="\[\033[0;00m\]"
function parse_git_branch {
ref=$(git symbolic-ref HEAD 2> /dev/null) || return
echo "("${ref#refs/heads/}")"
}
export PS1="$BLUE-Josh $YELLOW\w$GREEN \$(parse_git_branch)$DEFAULT\$ "
alias be='bundle exec'
export PATH="/usr/local/bin:$PATH"
# export PATH="$HOME/.rbenv/bin:$PATH"
# eval "$(rbenv init -)"
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
alias sin_rs='rake db:drop; rake db:create; rake db:migrate; rake db:seed'
alias ..='cd ..'
alias ga='git add .'
alias gpm='git push origin master'
alias gp='git push'
alias s='rails s'
alias c='rails c'
export BREWERY_DB=6e3d9a0b001422325a7d2aec2da84e6
export G_FUSION=AIzaSyAnhlqYVBI0bkJlUrMxwQWEiziRV7evB3Q
export G_FUSION_PASS=Dc1-ca87
eval "$(rbenv init -)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment