Make the gist work as it's own repo.

master
Tim Caswell 2010-04-15 12:14:52 -05:00
parent b44e17677f
commit 6c243e502e
3 changed files with 9 additions and 2 deletions

3
.gitignore vendored 100644
View File

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

View File

@ -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. 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: Then add three lines to your bash profile:

2
nvm.sh
View File

@ -87,7 +87,7 @@ nvm()
return; return;
fi fi
# TODO: put a star by the current active one if possible # 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 nvm help