[New] add support for $NVM_DIR/default-packages file

This commit is contained in:
Weston Ganger authored and Jordan Harband committed 2017-03-28 09:37:14 -07:00
1 parent dc5dfe3bc1
commit 7f3145bc98
7 files changed
+186 -6

No files matched your search

@@ -10,7 +10,9 @@ die () { echo "$@" ; cleanup ; exit 1; }
typeset -f | awk '/ \(\) $/ && !/^main / {print $1}' > "${BEFORE}"
set +e # TODO: fix
\. ../../nvm.sh
set -e
type nvm > /dev/null 2>&1 || die "nvm not loaded"