mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	For now, keep the grep to do proper filtering
This commit is contained in:
		
							
								
								
									
										1
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -920,6 +920,7 @@ nvm_ls_remote_index_tab() { | |||||||
|         if (pattern && tolower($1) !~ tolower(pattern)) { next } |         if (pattern && tolower($1) !~ tolower(pattern)) { next } | ||||||
|         if ($10 !~ /^\-?$/ && ! a[$10]++) print $1, $10; else print $1 |         if ($10 !~ /^\-?$/ && ! a[$10]++) print $1, $10; else print $1 | ||||||
|       }' \ |       }' \ | ||||||
|  |     | nvm_grep -w "${PATTERN:-.*}" \ | ||||||
|     | $SORT_COMMAND)" |     | $SORT_COMMAND)" | ||||||
|   if [ "$ZSH_HAS_SHWORDSPLIT_UNSET" -eq 1 ] && nvm_has "unsetopt"; then |   if [ "$ZSH_HAS_SHWORDSPLIT_UNSET" -eq 1 ] && nvm_has "unsetopt"; then | ||||||
|     unsetopt shwordsplit |     unsetopt shwordsplit | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user