readme: be inclusive of zsh when discussing shells

Much of the discussion in the README pertains to zsh as much as
bash, so include a specific reference to ~/.zshrc and remove one
explicit reference to bash.
master
Fraser Tweedale 2013-08-10 19:30:25 +10:00
parent 5c7996da5b
commit 58033251fd
1 changed files with 2 additions and 2 deletions

View File

@ -25,11 +25,11 @@ Or if you have `git` installed, then just clone it:
git clone https://github.com/creationix/nvm.git ~/.nvm git clone https://github.com/creationix/nvm.git ~/.nvm
To activate nvm, you need to source it from your bash shell To activate nvm, you need to source it from your shell:
source ~/.nvm/nvm.sh source ~/.nvm/nvm.sh
I always add this line to my `~/.bashrc` or `~/.profile` file to have it automatically sourced upon login. I always add this line to my `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login.
Often I also put in a line to use a specific version of node. Often I also put in a line to use a specific version of node.
## Usage ## Usage