Browse Source

Add nodejs env

pull/4/head
Ein Verne 6 years ago
parent
commit
53d91e3716
No known key found for this signature in database
GPG Key ID: F80B65F734D9DD7D
  1. 6
      .zshrc

6
.zshrc

@ -30,6 +30,12 @@ if [[ -d ~/.rbenv/ ]]; then
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH" export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
fi fi
if [[ -d ~/.nvm ]]; then
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
fi
if [[ -d /usr/local/go ]]; then if [[ -d /usr/local/go ]]; then
export PATH="$PATH:/usr/local/go/bin" export PATH="$PATH:/usr/local/go/bin"
export GOROOT="/usr/local/go" export GOROOT="/usr/local/go"

Loading…
Cancel
Save