Last active
April 4, 2017 13:02
-
-
Save simonmulser/b0a4e8eb74488ff67397 to your computer and use it in GitHub Desktop.
personal OS X bash profile
This file contains 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
export GOPATH=~/Workspaces/go | |
PATH=$PATH:~/bin:$GOPATH/bin | |
alias ll='ls -la' | |
alias asap='cd /Users/simon/Workspaces/asap/airport-core' | |
alias kipr='cd /Users/simon/Workspaces/kiweno/projects' | |
alias mineral='cd /Users/simon/Workspaces/Mineralbay/mineralbay' | |
alias sgs='cd /Users/simon/Workspaces/go/src/github.com/simonmulser/sgs-slackbot' | |
alias coin='cd /Users/simon/Workspaces/bitcoin' | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
# Git branch in prompt. | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\u@\h \W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment