diff --git a/README.markdown b/README.markdown index 7a9d440..1dec381 100644 --- a/README.markdown +++ b/README.markdown @@ -49,7 +49,7 @@ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | The script clones the nvm repository to `~/.nvm` and adds the following source lines to your profile (`~/.bash_profile`, `~/.zshrc`, `~/.profile`, or `~/.bashrc`). ``` -export NVM_DIR="/home/user/.nvm" +export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm ```