Created
December 7, 2012 21:47
-
-
Save spiffxp/4236795 to your computer and use it in GitHub Desktop.
My .bash_profile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .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