From cb326cb19d27f366cd8ba1bc2b18cdb790d1d053 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 22 Apr 2016 10:25:47 -0700 Subject: [PATCH] For now, keep the grep to do proper filtering --- nvm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/nvm.sh b/nvm.sh index 973ea7a..4a33cf8 100644 --- a/nvm.sh +++ b/nvm.sh @@ -920,6 +920,7 @@ nvm_ls_remote_index_tab() { if (pattern && tolower($1) !~ tolower(pattern)) { next } if ($10 !~ /^\-?$/ && ! a[$10]++) print $1, $10; else print $1 }' \ + | nvm_grep -w "${PATTERN:-.*}" \ | $SORT_COMMAND)" if [ "$ZSH_HAS_SHWORDSPLIT_UNSET" -eq 1 ] && nvm_has "unsetopt"; then unsetopt shwordsplit