mirror of
				https://github.com/lukechilds/zsh-nvm.git
				synced 2025-10-30 14:46:28 +08:00 
			
		
		
		
	Add lazy loader for yarn if present
yarn recommends installing via brew (or something other than npm) which means our it won't be picked up in our nvm node_modules glob.
This commit is contained in:
		
							parent
							
								
									0dad2bdef2
								
							
						
					
					
						commit
						e05c86722d
					
				| @ -75,6 +75,9 @@ _zsh_nvm_lazy_load() { | ||||
|     global_binaries=($(_zsh_nvm_global_binaries)) | ||||
|   fi | ||||
| 
 | ||||
|   # Add yarn lazy loader if it's been installed by something other than npm | ||||
|   _zsh_nvm_has yarn && global_binaries+=('yarn') | ||||
| 
 | ||||
|   # Add nvm | ||||
|   global_binaries+=('nvm') | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Luke Childs
						Luke Childs