Make sure the new versions directory is filtered out of nvm_ls output (in zsh).
This commit is contained in:
1 parent
7551746e55
commit
b59ecb9e11
2 files changed
+15
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user