Skip to content

Instantly share code, notes, and snippets.

@ZeroDeth
Created July 19, 2017 10:18
Show Gist options
  • Save ZeroDeth/edb6a9e875776e63165f9985cb1339ce to your computer and use it in GitHub Desktop.
Save ZeroDeth/edb6a9e875776e63165f9985cb1339ce to your computer and use it in GitHub Desktop.
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
export PATH="/usr/local/bin:/usr/bin:$PATH"
# homebrew=/usr/local/bin:/usr/local/sbin
# export PATH=$homebrew:$PATH
# modify your PATH variable
export PATH="~/.local/bin:$PATH"
# rbenv
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
# openssl
export PATH="/usr/local/opt/openssl/bin:$PATH"
test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash"
# Setting PATH for Python 2.7
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH=/usr/local/bin:$PATH
# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH=/usr/local/bin:$PATH
function gi() { curl -L -s https://www.gitignore.io/api/$@ ;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment