Skip to content

Instantly share code, notes, and snippets.

@raygunsix
Created August 15, 2011 15:50
Show Gist options
  • Save raygunsix/1147041 to your computer and use it in GitHub Desktop.
Save raygunsix/1147041 to your computer and use it in GitHub Desktop.
.bashrc
# Setup Git completion
source ~/.git-completion.bash
# Define bash colours
source ~/.bash_colors.bash
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
# aliases
alias ll='ls -lF'
alias vi='mvim'
# Configure prompt
export GIT_PS1_SHOWDIRTYSTATE=true
export PS1="\[$IGreen\]\n\h:\w \[$Yellow\](\$(~/.rvm/bin/rvm-prompt v p g s)) \[$Yellow\]\$(__git_ps1 [%s]) \[$BIGreen\]\n→ \[$Color_Off\] "
#enables color for iTerm
export TERM=xterm-color
# set up env vars
export OPSCODE_USER="raygunsix"
export OPSCODE_ORGNAME=""
export AWS_ACCESS_KEY_ID=""
export AWS_SECRET_ACCESS_KEY=""
# set path
export PATH=$PATH:/usr/local/sbin
# load RVM function
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment