This commit is contained in:
Koen Punt 2012-10-09 04:38:28 -07:00
commit c34a9a9d62

2
nvm.sh
View File

@ -75,7 +75,7 @@ nvm_ls_remote()
{
PATTERN=$1
if [ "$PATTERN" ]; then
if [ "${PATTERN:0:1}" != "v" ]; then
if echo "${PATTERN}" | grep -v '^v' ; then
PATTERN=v$PATTERN
fi
fi