Skip to content

Instantly share code, notes, and snippets.

@pkrawc
Created March 14, 2016 20:33
Show Gist options
  • Save pkrawc/9641aaed98753c03be42 to your computer and use it in GitHub Desktop.
Save pkrawc/9641aaed98753c03be42 to your computer and use it in GitHub Desktop.
# Add Homebrew `/usr/local/bin` and User `~/bin` to the `$PATH`
PATH=/usr/local/bin:/usr/local/mysql/bin:$PATH
PATH=/usr/local/bin:$PATH
PATH=$HOME/bin:$PATH
export PATH
# Load the shell dotfiles, and then some:
# * ~/.path can be used to extend `$PATH`.
# * ~/.extra can be used for other settings you don’t want to commit.
for file in ~/.{path,bash_prompt,exports,aliases,functions,extra}; do
[ -r "$file" ] && source "$file"
done
unset file
# Load RVM into a shell session *as a function*
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
source /Users/patrick/.rvm/scripts/rvm
eval $(thefuck --alias)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment