1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2026-01-12 16:32:54 -05:00

nvm causing way too many headaches -- I'll figure it out later

This commit is contained in:
2019-09-25 10:22:48 -04:00
parent 1d358cda17
commit b3a3f41b6e
6 changed files with 17 additions and 19 deletions

View File

@@ -8,7 +8,7 @@ export PATH="$PATH:$GOPATH/bin"
export PATH="$PATH:$GOROOT/bin"
# Ruby
export PATH="/usr/local/opt/ruby/bin:$PATH"
#export PATH="/usr/local/opt/ruby/bin:$PATH"
# Metasploit
export PATH="/opt/metasploit-framework/bin:$PATH"
@@ -22,19 +22,7 @@ export PATH="$HOME/.cargo/bin:$PATH"
# ----- Third-party additions below: -----
# pyenv
eval "$(pyenv init -)"
# rbenv
eval "$(rbenv init -)"
# nvm
export NVM_DIR="$HOME/.nvm"
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# This is SOOOOOOOO SLOW.... lazy-load nvm instead with `usenvm`:
alias usenvm='[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh"; [ -s "/usr/local/opt/nvm/etc/bash_completion" ] && . "/usr/local/opt/nvm/etc/bash_completion"'
#eval "$(rbenv init -)"
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/jake/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/jake/google-cloud-sdk/path.zsh.inc'; fi