From 6c243e502eae9c31e187597259b24c0826b7ba15 Mon Sep 17 00:00:00 2001 From: Tim Caswell Date: Thu, 15 Apr 2010 12:14:52 -0500 Subject: [PATCH] Make the gist work as it's own repo. --- .gitignore | 3 +++ README.markdown | 6 +++++- nvm.sh | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..daa5138 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +HEAD +src +v* diff --git a/README.markdown b/README.markdown index bb2b4ed..7e2bb82 100644 --- a/README.markdown +++ b/README.markdown @@ -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: diff --git a/nvm.sh b/nvm.sh index 8c76b69..a3dbff4 100644 --- a/nvm.sh +++ b/nvm.sh @@ -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