Skip to content

Commit

Permalink
Add nvm
Browse files Browse the repository at this point in the history
Until nvm-sh/nvm#860 is solved and nvm.sh
is optimized for speed, this will only export the script path, invoking
it must be done explicitly.

I use this workflow by opening a new shell, and running
`source $NVM_SCRIPT`.
  • Loading branch information
ryanwilsonperkin committed Oct 13, 2015
1 parent 8e5848c commit bce8e45
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ DISABLE_CORRECTION="true"

plugins=(git gitfast pip rvm tmux tmuxinator vagrant)

[ -e $ZSH/oh-my-zsh.sh ] && source $ZSH/oh-my-zsh.sh
[ -e $HOME/.rvm ] && source $HOME/.rvm/scripts/rvm

# Always use vim as our editor
export EDITOR=vim
export NVM_DIR=~/.nvm
export NVM_SCRIPT=/usr/local/opt/nvm/nvm.sh

[ -e $ZSH/oh-my-zsh.sh ] && source $ZSH/oh-my-zsh.sh
[ -e $HOME/.rvm ] && source $HOME/.rvm/scripts/rvm

0 comments on commit bce8e45

Please sign in to comment.