/
home
/
techb158
/
.nvm
/
test
/
fast
/
/home/techb158/.nvm/test/fast
mkdir
upload
Name
Size
Mode
Actions
Aliases/
-
0775
rm
Listing paths/
-
0775
rm
Listing versions/
-
0775
rm
Set Colors/
-
0775
rm
Unit tests/
-
0775
rm
nvm should remove the last trailing slash in $NVM_DIR
395
0664
edit
dl
rm
Running 'nvm alias' should create a file in the alias directory
109
0775
edit
dl
rm
Running 'nvm current' should display current nvm environment
229
0775
edit
dl
rm
Running 'nvm deactivate' should unset the nvm environment variables
973
0775
edit
dl
rm
Running 'nvm install' with '--reinstall-packages-from' requires a valid version
2511
0775
edit
dl
rm
Running 'nvm install' with an invalid version fails nicely
375
0775
edit
dl
rm
Running 'nvm unalias' should remove the alias file
147
0775
edit
dl
rm
Running 'nvm uninstall' should remove the appropriate directory
116
0775
edit
dl
rm
Running 'nvm uninstall' with incorrect file permissions fails nicely
320
0775
edit
dl
rm
Running 'nvm unload' should unset all function and variables
685
0775
edit
dl
rm
Running 'nvm use' should drop CR char automatically
512
0775
edit
dl
rm
Running 'nvm use foo' where 'foo' is circular aborts
992
0775
edit
dl
rm
Running 'nvm use iojs' uses latest io.js version
1029
0775
edit
dl
rm
Running 'nvm use system' should work as expected
1556
0775
edit
dl
rm
Running 'nvm use x' should create and change the 'current' symlink
770
0775
edit
dl
rm
Running 'nvm use x' should not create the 'current' symlink if $NVM_SYMLINK_CURRENT is false
2025
0775
edit
dl
rm
setup
189
0775
edit
dl
rm
setup_dir
195
0775
edit
dl
rm
Sourcing nvm.sh should make the nvm command available
41
0775
edit
dl
rm
Sourcing nvm.sh should not modify parameters of caller
62
0775
edit
dl
rm
teardown
196
0775
edit
dl
rm
teardown_dir
157
0775
edit
dl
rm
Edit:
/home/techb158/.nvm/test/fast/setup_dir
(195B)
#!/bin/sh set -ex ( cd ../.. # Back up mkdir -p bak for SRC in v* src alias; do [ -e "$SRC" ] && mv "$SRC" bak done if [ -d versions ]; then mv versions bak fi true )
Save
cmd:
run