Skip to content
Myr

Merge pull request #514 from stelcheck/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Make the creation of a symlink an overridable default behaviour

authored by Jordan Harband · committed by Jordan Harband · parents f9769e4, 83a0efb · Browse files · 2 files+86 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+86 added−1 removed

  • tests:+83 added−0 removed
  • other:+3 added−1 removed

2 files+86 added−1 removed

modified:nvm.sh+3 added-1 removed
645 unmodified lines
646 export MANPATH647 export NODE_PATH648 export NVM_PATH="$NVM_VERSION_DIR/lib/node"649 export NVM_BIN="$NVM_VERSION_DIR/bin"650 if [ "$NVM_SYMLINK_CURRENT" = true ] || [ -z "$NVM_SYMLINK_CURRENT" ]; then650 rm -f "$NVM_DIR/current" && ln -s "$NVM_VERSION_DIR" "$NVM_DIR/current"651 rm -f "$NVM_DIR/current" && ln -s "$NVM_VERSION_DIR" "$NVM_DIR/current"652 fi653 echo "Now using node $VERSION"654 ;;655 "run" )656 local provided_version
163 unmodified lines