Make sure the new versions directory is filtered out of nvm_ls output (in zsh).

This commit is contained in:
Jordan Harband
2014-08-21 22:54:26 -07:00
parent 7551746e55
commit b59ecb9e11
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/sh
mkdir ../../../v0.1.3
mkdir ../../../v0.2.3
. ../../../nvm.sh
mkdir ../../../versions
[ -z "$(nvm ls | \grep 'versions')" ]
# The result should contain only the appropriate version numbers.
rmdir ../../../versions