Skip to content

Instantly share code, notes, and snippets.

@megatux
Last active December 17, 2015 22:00
Show Gist options
  • Select an option

  • Save megatux/5679164 to your computer and use it in GitHub Desktop.

Select an option

Save megatux/5679164 to your computer and use it in GitHub Desktop.
.bashrc bash shell configuration
GIT_PS1_SHOWDIRTYSTATE=true
PS1='\[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ '
export PATH=/usr/local/sbin:/usr/local/bin:$PATH:$HOME/bin:`npm bin`
export PATH=/usr/local/php5/bin:$PATH
export PATH="$HOME/.rbenv/bin:$PATH"
export EDITOR='mate -w'
export GIT_EDITOR='mate -wl1'
export LESSEDIT='mate -l %lm %f'
export ANDROID_SDK_ROOT=/usr/local/Cellar/android-sdk/r18
export PATH=$PATH:$ANDROID_SDK_ROOT/tools/
alias ls='ls -G'
alias ll='ls -l'
alias be="bundle exec"
alias bake="bundle exec rake"
alias gst="git status"
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment