From 13675567f5fcedc42964365504f2ae6580f110a9 Mon Sep 17 00:00:00 2001 From: lowol <@lowol> Date: Mon, 5 Nov 2012 15:14:34 +0900 Subject: [PATCH] fix nvm_ls_remote --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 1a193f7..2246c9c 100755 --- a/nvm.sh +++ b/nvm.sh @@ -97,7 +97,7 @@ nvm_ls_remote() fi VERSIONS=`curl -s http://nodejs.org/dist/ \ | egrep -o 'v[0-9]+\.[0-9]+\.[0-9]+' \ - | grep -w "${PATTERN}" \ + | grep --color=never -w "${PATTERN}" \ | sort -t. -u -k 1.2,1n -k 2,2n -k 3,3n` if [ ! "$VERSIONS" ]; then echo "N/A"