From a73153f2e140ff8e79184b356d62b924ace881f9 Mon Sep 17 00:00:00 2001 From: Daniel Bretoi Date: Fri, 21 Nov 2014 13:42:38 -0800 Subject: [PATCH] change $HOME to $NVM_DIR in readme. Remove unncessary comments in script --- README.markdown | 2 +- bin/nvm | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.markdown b/README.markdown index 669be3be11e..118f8efaac2 100644 --- a/README.markdown +++ b/README.markdown @@ -109,7 +109,7 @@ Add `/bin` and `/current/bin` to your PATH and use nvm transpara Where nvm is installed at `~/.nvm` - set -x fish_user_paths $PATH $HOME/.nvm/current/bin $HOME/.nvm/bin + set -x fish_user_paths $PATH $NVM_DIR/.nvm/current/bin $NVM_DIR/.nvm/bin ## License diff --git a/bin/nvm b/bin/nvm index 33b0465f53c..85d478561e8 100755 --- a/bin/nvm +++ b/bin/nvm @@ -1,8 +1,5 @@ #!/bin/bash -# For non bash-shells (fish, etc) -# add /nvm/bin and /nvm/current/bin to PATH - export NVM_SYMLINK_CURRENT=true DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"