Dr. Kibitz
9a0c269713
Redo https://github.com/creationix/nvm/pull/345
11 years ago
Fraser Tweedale
0c8410fcc3
support FreeBSD's sha1(1) for integrity checks
...
In the absense of shasum(1) (which on FreeBSD is provided by Perl,
from ports) nvm falls back to sha1sum(1) which does not exist on
FreeBSD. But FreeBSD does have sha1(1) so look for sha1(1) and use
it if present.
As part of this change, refactor the execution of the checksum
program down into nvm_checksum and also clean up some special-casing
of empty dist checksums, which is already handled by nvm_checksum.
11 years ago
Jordan Harband
12d7b6fa0c
Merge pull request #361 from drkibitz/local-vars
...
Declare more variables as local
11 years ago
Jordan Harband
274652e10e
Fix nvm ls-remote and display uninstalled versions again. Fixes #359 , closes #360
11 years ago
Dr. Kibitz
2e9558cbf9
Declare more variables as local
11 years ago
Jordan Harband
13781f242b
Create a `colorize_version` function that doesn't include the padding, for `nvm version`
11 years ago
Jordan Harband
b6469ee186
Preventing an extra leading newline.
11 years ago
Jordan Harband
304cc29cf0
Fixing indentation and adding a trailing newline.
11 years ago
Jordan Harband
0d5ee024d1
Merge pull request #356 from geekjuice/master
...
Change variable name to fix zsh parse issue
11 years ago
Nicholas Hwang
9a88e3656c
Change variable name to fix zsh parse issue
11 years ago
Jordan Harband
c19535a3f5
Merge pull request #354 from simontabor/patch-1
...
don't curl if version is specified + installed
11 years ago
Simon Tabor
9af7409e4a
don't curl if version is specified + installed
...
Removes CURL to match the version pattern if an explicit version (e.g. `v0.10.25`) is specified and already installed.
11 years ago
Jordan Harband
eca6118023
Merge pull request #352 from gdi2290/patch-1
...
update copyright year range in readme
11 years ago
PatrickJS
50485d641b
update copyright year range in readme
11 years ago
Jordan Harband
cd378cb170
Merge pull request #351 from gdi2290/patch-1
...
update copyright year range
11 years ago
PatrickJS
db7e0976f2
update copyright year range
11 years ago
Jordan Harband
ecb7a15baa
Using our conventional NVM_ prefix for env vars.
...
Per https://github.com/creationix/nvm/pull/245#issuecomment-33821443
11 years ago
Jordan Harband
5f225cd625
Merge pull request #245 from rgbkrk/mirror_z
...
Add mirror option for node binaries. Relates to #255 .
11 years ago
Kyle Kelley
8599ea29f9
Add dist to path, add docs
11 years ago
Kyle Kelley
b1d0cfa77b
Added mirror option for node binaries
11 years ago
Jordan Harband
a0a2ee4414
Merge pull request #349 from zyxar/master
...
Fixes #346
11 years ago
Markus Z
60e66fa7be
Fixes #346
11 years ago
Jordan Harband
45eff43cd0
Merge pull request #342 from txgruppi/master
...
export NODE_PATH on nvm use
11 years ago
Tarcisio Gruppi
eb588566f2
Removed PREVIOUS_NODE_PATH
11 years ago
Jordan Harband
17daa68a35
Merge pull request #344 from dhoppe/patch-1
...
Update nvm.sh
11 years ago
Dennis Hoppe
47c87b8478
Update nvm.sh
...
Examples should point to latest stable release. ;)
11 years ago
Tarcisio Gruppi
58dafdaedd
Update NODE_PATH on use, run and deactivate
11 years ago
Tarcisio Gruppi
4d2faba9af
export NODE_PATH on nvm use
11 years ago
Jordan Harband
bc4c5644f5
Merge pull request #335 from naartjie/#299
...
fix copy-packages in zsh
11 years ago
Marcin Jekot
950da2b836
Merge branch 'master' into #299
11 years ago
Jordan Harband
2459843b92
Merge pull request #279 from frasertweedale/fix/readme-shell-names
...
readme: be inclusive of zsh when discussing shells
11 years ago
Fraser Tweedale
58033251fd
readme: be inclusive of zsh when discussing shells
...
Much of the discussion in the README pertains to zsh as much as
bash, so include a specific reference to ~/.zshrc and remove one
explicit reference to bash.
11 years ago
Jordan Harband
8df2dd2ba8
Merge pull request #278 from frasertweedale/fix/manpath
...
fix MANPATH generation on FreeBSD
11 years ago
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