Fraser Tweedale
591a3bb19d
fix MANPATH generation on FreeBSD
...
On FreeBSD, if MANPATH is set it is used verbatim; configuration
files are completely ignored. Therefore, setting MANPATH to (only)
the nvm man dir makes system man pages unreachable.
To get around this, before doing anything else to MANPATH, if it is
empty set it to the output of manpath(1).
One further complication: FreeBSD automatically adds a path to the
man pages path for each path in PATH that ends in "/bin", which
causes "~/.nvm/$VERSION/man" to be added. This interferes with the
subsequent substitution so strip this from MANPATH before the
substitution.
11 years ago
Marcin Jekot
679c71650f
fix copy-packages in zsh
...
fixes #299 , finally, using the local var syntax
11 years ago
Jordan Harband
5c7996da5b
Merge pull request #332 from ljharb/add_package_json
...
Add package json
11 years ago
Jordan Harband
9021cf579a
Updating the README.
11 years ago
Jordan Harband
7afe2c5e2d
Add a package.json.
11 years ago
Jordan Harband
8143f5a618
ignore more urchin output.
11 years ago
Jordan Harband
c211357e70
Ignore node_modules.
11 years ago
Jordan Harband
3eb09ab984
Merge pull request #330 from mibamur/patch-1
...
Update nvm.sh
11 years ago
Michael
670870e211
Update nvm.sh
...
fix#https://github.com/creationix/nvm/pull/330
11 years ago
Michael
74ca011704
Update nvm.sh
...
fix https://github.com/creationix/nvm/pull/330
11 years ago
Jordan Harband
83c5b6286d
Add `nvm current` to `nvm help`. Relates to #205 .
11 years ago
Jordan Harband
d7015c7f65
Merge pull request #205 from deiga/add-current-command
...
Added command to get current nvm environment.
11 years ago
Timo Sand
4ca71d81cf
Changed test according to comments
11 years ago
Jordan Harband
ed69b5cc71
Merge pull request #331 from deiga/patch-1
...
Update README.markdown
11 years ago
Timo Sand
f9d5a85f05
Merge branch 'master' into add-current-command
11 years ago
Timo Sand
1f3ea299fa
Update README.markdown
11 years ago
Michael
b2ef0cb14c
Update nvm.sh
...
Fix - this line should be nvm use 0.10 - no 'v', and no incremental version number.
11 years ago
Michael
59c4dc735a
Update nvm.sh
...
small fix fo nvm help info
11 years ago
Jordan Harband
ce7d2e7618
Merge pull request #328 from naartjie/master
...
fix copy-packages in zsh (without breaking sh and bash). Closes #223 , fixes #299 .
11 years ago
Marcin Jekot
4df45ac51a
merge in changes from creationix/nvm
11 years ago
Jordan Harband
8573b95a2d
Merge pull request #327 from stuartf/issue-314
...
fix copy-packages
11 years ago
Marcin Jekot
94fff5c923
fix copy-packages in zsh (without breaking sh and bash)
11 years ago
D. Stuart Freeman
56e32888ea
fix copy-packages
11 years ago
Jordan Harband
b186b6327a
Merge pull request #326 from koenpunt/has-command-helper
...
helper method for testing existence of commands
11 years ago
Koen Punt
e99fc43ab2
helper method for testing existence of commands
11 years ago
Jordan Harband
cf515c4ff8
Merge pull request #324 from hurrymaplelad/quiet_type
...
Slurp stderr from test unsetopt
11 years ago
Adam Hull
037f52a55b
Slurp test unsetopt stderr
11 years ago
Jordan Harband
b714db7a95
Merge pull request #322 from koenpunt/fix-unsetopt-test
...
Universal test of unsetopt command. Closes #300
11 years ago
Koen Punt
aba4346a86
Universal test of unsetopt command
...
According to http://stackoverflow.com/a/7522866/189431 it should work in "bash, zsh, ksh and sh (as provided by dash)".
11 years ago
Jordan Harband
5686d9a3bb
Addressing comments raised in #171
11 years ago
Jordan Harband
49e9a309c3
Merge pull request #305 from marioidival/patch-1
...
For zsh users
11 years ago
Jordan Harband
788d87774f
Merge pull request #312 from quiqueg/master
...
Fixed bash error caused by lack of double quotes
11 years ago
Jordan Harband
7ccc2dd5ed
Merge pull request #311 from loganfsmyth/remove-tar
...
Properly remove the tar file.
11 years ago
Logan Smyth
7862182d6f
Add -f
11 years ago
Matthew Alexander
b4a9c14d4e
Fixed bash error caused by lack of double quotes
11 years ago
Logan Smyth
473dd86f48
Properly remove the tar file.
11 years ago
Mario Idival
6e1c249ecd
For zsh users
...
i use zsh and i did this update in install.sh local, is good for you too :)
12 years ago
Timo Sand
dc7a42062e
Added test for `nvm current`
12 years ago
Timo Sand
dd157129a6
Added command to get current nvm environment.
12 years ago
Jordan Harband
d3f04c793e
Merge pull request #296 from frasertweedale/fix/generic-source
...
install.sh: use a more generic SOURCE_STR
12 years ago
Fraser Tweedale
ef7e3cc39a
install.sh: use a more generic SOURCE_STR
...
SOURCE_STR currently includes the value of $HOME (at install time).
Change SOURCE_STR to include a literal "$HOME" (to be expanded at
profile runtime) so that sourcing nvm will work if the user changes
their username, shares their profile, et cetera.
Also use the more portable single-square-bracket test.
12 years ago
Jordan Harband
e6116d96ab
Mentioning `install-gitless.sh` in the "no git" error message - finishing off #246 .
12 years ago
Jordan Harband
5e2ad5bb8d
Merge pull request #246 from ddryden/master
...
Add check for git in the installer script.
12 years ago
Jordan Harband
a7a91441aa
Merge pull request #294 from 00Davo/patch-1
...
Finds NVM_DIR with `cd -q` on zsh
12 years ago
00Davo
a2a8ddb779
Use only shell builtins to avoid triggering autojump, instead of needing GNU readlink
...
Under Zsh, the `-q` flag to `cd` makes it not run `chpwd` hooks and hence makes it not add `~/.nvm` to `autojump`.
12 years ago
00Davo
1ad9d18257
Finds NVM_DIR without using cd
...
Using `cd` makes the nvm directory the number-one directory in `autojump`'s database---which is somewhat confusing since the user basically never `cd`s to it directly!---so here's an alternative method that doesn't use the `cd` command. I've checked it works in both Bash and Zsh.
12 years ago
Jordan Harband
e58c495f69
Merge pull request #293 from lloydde/patch-1
...
updt urchin lnk, urchin.sh domain pending delete
12 years ago
Lloyd Dewolf
676a2cc865
updt urchin lnk, urchin.sh domain pending delete
...
$ curl -i www.urchin.sh
curl: (6) Could not resolve host: www.urchin.sh; nodename nor servname provided, or not known
http://www.nic.sh/cgi-bin/whois
"Domain pendingDelete - expired 2013-07-12, unless it is renewed it will be deleted at or after 00:10 GMT 90 days beyond the expiry date."
12 years ago
Jordan Harband
c6f72953c9
Merge pull request #292 from martiniwanowski/master
...
Fix for issue #196 , deconfusified the scenario
12 years ago
Martin Iwanowski
41352e866d
Fix for issue #196 , deconfusified the scenario
12 years ago