Last active
September 1, 2018 19:44
-
-
Save djangofan/cede8437ac8a085d2aa313382ad1f14b to your computer and use it in GitHub Desktop.
LIB SETUP IN OSX MAC .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
# put in .bash_profile | |
export PATH=".:/usr/local/bin:/usr/local:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/sw/bin:$PATH" | |
export PATH="$PATH:/usr/local/git/bin" | |
export PATH="$PATH:$HOME/.pyenv/shims" # add Python version manager 'brew install pyenv' | |
eval "$(pyenv init -)" | |
echo "Python shimmed: " + $(pyenv which python) | |
export PATH="$PATH:$HOME/.rbenv/bin" # add Ruby version manager 'brew install rbenv' | |
eval "$(rbenv init -)" | |
echo "Ruby shimmed: " + $(rbenv which ruby) | |
# install SDKMAN 'curl -s "https://get.sdkman.io" | bash' | |
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" | |
echo "Available SDKMAN libs: " + $(ls ~/.sdkman/candidates) | |
echo "Available BREW libs: " + $(brew list && brew cask list) | |
echo "------------------" | |
echo "" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment