Browse Source

Make the gist work as it's own repo.

master
Tim Caswell 15 years ago
parent
commit
6c243e502e
  1. 3
      .gitignore
  2. 6
      README.markdown
  3. 2
      nvm.sh

3
.gitignore vendored

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
HEAD
src
v*

6
README.markdown

@ -4,7 +4,11 @@ @@ -4,7 +4,11 @@
First you'll need to make sure your system has a c++ compiler. For OSX, XCode will work, for Ubuntu, the build-essential package works. You'll also need `git` if you want to track HEAD.
To install create a folder somewhere in your filesystem with the nvm.sh file inside it. I put mine in a folder called `.nvm`.
To install create a folder somewhere in your filesystem with the "`nvm.sh`" file inside it. I put mine in a folder called "`.nvm`".
Or if you have `git` installed, then just clone it:
git clone git://gist.github.com/367305.git ~/.nvm
Then add three lines to your bash profile:

2
nvm.sh

@ -87,7 +87,7 @@ nvm() @@ -87,7 +87,7 @@ nvm()
return;
fi
# TODO: put a star by the current active one if possible
ls "$NVM_DIR" | grep -v src | grep -v nvm.sh
ls "$NVM_DIR" | grep -v src | grep -v nvm.sh | grep -v README.markdown
;;
* )
nvm help

Loading…
Cancel
Save