For now, keep the grep to do proper filtering

Jordan Harband 2016-04-22 10:25:47 -07:00
parent 01c8b04fd5
commit cb326cb19d
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
1 changed files with 1 additions and 0 deletions

1
nvm.sh
View File

@ -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