Jordan Harband
6fb94e0dab
[fix] `nvm exec`: show “io.js” for io.js versions.
9 years ago
Jordan Harband
0dd2846215
[fix] `set -e`: ensure `nvm_version` returning 3, and `nvm_alias` returning 2, doesn’t terminate the process.
9 years ago
Jordan Harband
1c3f8da6c3
`nvm alias`: factor out alias creation to `nvm_make_alias`
9 years ago
Jordan Harband
2d50606a78
[Tests] flesh out `nvm_print_default_alias` tests
9 years ago
Jordan Harband
d705ec7ebf
[refactor] run through shellcheck
9 years ago
Jordan Harband
09f86b0e6e
[Refactor] Create and use `nvm_is_version_installed`
9 years ago
Cătălin Mariș
1f336ffbfe
Use `language: generic` in `.travis.yml`
...
Since the tests don't rely on / fall into any of the language
categories¹ defined by Travis CI, `language: generic`² can be used.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
¹ https://docs.travis-ci.com/user/languages/
² https://github.com/travis-ci/travis-ci/issues/4895#issuecomment-150703192
9 years ago
Jordan Harband
fc68e615b2
`nvm alias`: colorize output to match `nvm ls`
9 years ago
Jordan Harband
379d079c30
[Tests] Ensure color codes are stripped in alias tests.
9 years ago
Philip Ingrey
9106cc25a4
Switch from pull to fetch in the manual update guide
9 years ago
Jordan Harband
91c77c6ba8
[Tests] fix shebangs
9 years ago
Jordan Harband
ec54c925c1
[Tests] use mocks for `nvm_ls_remote`/`nvm_ls_remote_iojs` tests.
9 years ago
Jordan Harband
677c69dda0
`nvm alias`: explicitly forbid user aliases in subdirs.
9 years ago
Jordan Harband
1eb4d482e0
`nvm alias`: If the alias target is empty, call into `nvm unalias`
9 years ago
Jordan Harband
4df2a7fca9
`nvm alias`: factor out alias printing logic to functions
9 years ago
Jordan Harband
7b1a4e5126
`nvm alias`: slightly speed up alias resolution.
9 years ago
Jordan Harband
886cde7da5
Readme: Clean up trailing whitespace
9 years ago
Oskar Eriksson
804eae30fb
Added section about verifying nvm install using the command util
9 years ago
Jorge Bucaran
b0693f2d6a
Add fin https://github.com/fisherman/fin .
...
fin is a pure fish, node version manager for fish-shell.
9 years ago
Jordan Harband
96afff7af2
[Tests] Set up “mocks” directory, and updater script.
9 years ago
Jordan Harband
ac18d01854
[Tests] update index.tab data mocks.
9 years ago
Jordan Harband
755c39209e
[Refactor] make `check_file_permissions` be pure instead of relying on a closure.
...
Also, make it return early, to be a bit more efficient.
(from #847 )
9 years ago
Jordan Harband
86c8b116d1
Merge pull request #847 from lukechilds/uninstall-bug
...
[New] `nvm uninstall`: Check installation dir permissions before uninstalling
9 years ago
Luke Childs
3a2d35f167
Check permissions in shell rather than using find -exec
9 years ago
Luke Childs
5970a06b19
Add slow test to check nvm uninstall with file permission error
9 years ago
Luke Childs
dff4f80f32
Add fast test to check nvm uninstall with file permission error
9 years ago
Luke Childs
6fb528f4e4
Add slow test to check nvm uninstall
9 years ago
Luke Childs
005e29a223
Check dir permissions before attempting to nvm uninstall
9 years ago
Jordan Harband
d3e334d86d
[Fix] `read` exits 1 when `.nvmrc` lacks a trailing newline - avoid that.
...
Per https://github.com/creationix/nvm/issues/993#issuecomment-205399603
9 years ago
igrayson
6299cba467
Update README.markdown
...
Add mention for ~/.bashrc
9 years ago
Vincent Tunru
b6f160a7b3
Fixes #995 : Add example .nvmrc to the README
9 years ago
Jordan Harband
273ebedc55
[Fix] avoid an unbound variable when `nounset` bash option is set.
...
Per https://github.com/creationix/nvm/issues/868#issuecomment-198232952
9 years ago
Frankie Bagnardi
d03f575446
Adds fast-nvm-fish to README
9 years ago
Robson Peixoto
8fb4ee0789
Unset unnecessary environment variables
9 years ago
flowmemo
d8a3b074a6
fixed the number of alternatives in Windows in README.markdown
9 years ago
Whitney Young
972be30a1a
Add link to avn
...
Also, clarified the existing shell integration intro text.
9 years ago
Tobias Witt
ae70d558cb
Add section about "Deeper shell integration"
...
Also adds a snippet for zsh user to auto-issue `nvm use` when entering a
directory.
9 years ago
Adam Patridge
e76221fd15
Added note about OSX's missing .bash_profile file.
9 years ago
Jordan Harband
2176894a5b
v0.31.0
9 years ago
Jordan Harband
cf7d5d8042
Merge pull request #1011 from dohse/keep-parameters
...
[Fix] Do not modify args of sourcing script when parsing `--install`/`--no-use` arg
Fixes #976 .
9 years ago
Jonas Dohse
7135873f80
Do not modify parameters of sourcing script in zsh
...
When sourcing a script without parameters in zsh the sourced scripts
gets the same parameters as the sourcing file and is able to modify
these parameters. Prevent nvm from removing all parameters of sourcing
script by processing a copy of the parameters in a function.
9 years ago
Jordan Harband
dc9020b133
Merge pull request #1004 from tlevine/env-bash
...
[Fix] use env bash rather than /bin/bash
9 years ago
Thomas Levine
0eaa7e0bde
use env bash in nvm-exec and install.sh
9 years ago
Thomas Levine
06b81f0f36
use env bash rather than /bin/bash
...
My bash is not installed in /bin/bash.
9 years ago
gmisra
8a20234586
Document how to reload nvm after upgrading
9 years ago
Jordan Harband
44541b416f
[New] After installing, ensure that the default is set.
9 years ago
Jordan Harband
731c2f3f70
Add `nvm_get_minor_version`
9 years ago
Jordan Harband
de64a2d95f
[Fix] `nvm_format_version` should only return 3 version groups
9 years ago
Jordan Harband
77e0449c89
[Fix] `nvm-exec`: properly exit when failing; improve error messages, suppress `nvm use --help` output
...
Fixes #997 .
9 years ago
Sébastien Larivière
649e416017
[Refactor]Double quote to prevent globbing and word splitting.
9 years ago