From 8cceae3cc19ebc7478b68324553eb8ca2b6974c5 Mon Sep 17 00:00:00 2001 From: Daniel Teixeira Date: Fri, 14 Mar 2014 14:58:51 -0300 Subject: [PATCH] Overwritting GREP_OPTIONS on local script (recommiting to automerge into current master) --- nvm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nvm.sh b/nvm.sh index 0016ad5..d1730b8 100755 --- a/nvm.sh +++ b/nvm.sh @@ -100,6 +100,7 @@ nvm_ls() { nvm_ls_remote() { local PATTERN=$1 local VERSIONS + local GREP_OPTIONS='' if [ "$PATTERN" ]; then if echo "${PATTERN}" | \grep -v '^v' ; then PATTERN=v$PATTERN @@ -170,6 +171,7 @@ nvm() { local uname="$(uname -a)" local os= local arch="$(uname -m)" + local GREP_OPTIONS='' case "$uname" in Linux\ *) os=linux ;; Darwin\ *) os=darwin ;;