parent
accd6ae298
commit
dc5dfe3bc1
8
nvm.sh
8
nvm.sh
|
@ -2163,6 +2163,14 @@ nvm() {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
local DEFAULT_IFS
|
||||||
|
DEFAULT_IFS=" $(echo t | tr t \\t)
|
||||||
|
"
|
||||||
|
if [ "${IFS}" != "${DEFAULT_IFS}" ]; then
|
||||||
|
IFS="${DEFAULT_IFS}" nvm "$@"
|
||||||
|
return $?
|
||||||
|
fi
|
||||||
|
|
||||||
local COMMAND
|
local COMMAND
|
||||||
COMMAND="${1-}"
|
COMMAND="${1-}"
|
||||||
shift
|
shift
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
\. ../../../nvm.sh
|
||||||
|
|
||||||
|
mkdir "${NVM_DIR}/v0.0.1"
|
||||||
|
mkdir "${NVM_DIR}/v0.0.3"
|
||||||
|
mkdir "${NVM_DIR}/v0.0.9"
|
||||||
|
mkdir "${NVM_DIR}/v0.3.1"
|
||||||
|
mkdir "${NVM_DIR}/v0.3.3"
|
||||||
|
mkdir "${NVM_DIR}/v0.3.9"
|
||||||
|
mkdir -p "${NVM_DIR}/versions/node/v0.12.87"
|
||||||
|
mkdir -p "${NVM_DIR}/versions/node/v0.12.9"
|
||||||
|
mkdir -p "${NVM_DIR}/versions/io.js/v0.1.2"
|
||||||
|
mkdir -p "${NVM_DIR}/versions/io.js/v0.10.2"
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
IFS='' nvm ls
|
Loading…
Reference in New Issue