Skip to content

Instantly share code, notes, and snippets.

@spiffxp
Created December 7, 2012 21:47
Show Gist options
  • Save spiffxp/4236795 to your computer and use it in GitHub Desktop.
Save spiffxp/4236795 to your computer and use it in GitHub Desktop.
My .bash_profile
# .bash_profile
# ls
export CLICOLOR=1
alias ll='ls -l'
alias la='ls -a'
# auto-completion hooks
for file in /usr/local/etc/bash_completion.d/*; do
source $file
done
# git
alias gx='gitx --all'
alias gg='git gui'
# github
alias git=hub
# vim
alias mi='mvim'
# allow ~/bin to override all else
export PATH="$HOME/bin:$PATH"
# homebrew
export PATH="/usr/local/bin:$PATH"
export PATH="$PATH:/usr/local/share/python"
# prompt
export GIT_PS1_SHOWDIRTYSTATE="true"
export GIT_PS1_SHOWUNTRACKEDFILES="true"
export PS1='\h:\u \W$(__git_ps1 " (%s)")\$ '
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment