Make the gist work as it's own repo.
parent
b44e17677f
commit
6c243e502e
|
@ -0,0 +1,3 @@
|
||||||
|
HEAD
|
||||||
|
src
|
||||||
|
v*
|
|
@ -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
2
nvm.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue