mirror of
				https://github.com/lukechilds/zsh-nvm.git
				synced 2025-10-30 14:46:28 +08:00 
			
		
		
		
	silent which nvm error in lazy load (#36)
				
					
				
			This commit is contained in:
		
							parent
							
								
									9dbb51b388
								
							
						
					
					
						commit
						1bdd5e2128
					
				| @ -92,7 +92,7 @@ _zsh_nvm_lazy_load() { | ||||
|   local cmds | ||||
|   cmds=() | ||||
|   for bin in $global_binaries; do | ||||
|     [[ "$(which $bin)" = "$bin: aliased to "* ]] || cmds+=($bin) | ||||
|     [[ "$(which $bin 2> /dev/null)" = "$bin: aliased to "* ]] || cmds+=($bin) | ||||
|   done | ||||
| 
 | ||||
|   # Create function for each command | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Aitor Guevara
						Aitor Guevara