mirror of
				https://github.com/lukechilds/zsh-nvm.git
				synced 2025-10-30 14:46:28 +08:00 
			
		
		
		
	Only run _zsh_nvm_auto_use if nvm is fully loaded
This commit is contained in:
		
							parent
							
								
									2bb074554b
								
							
						
					
					
						commit
						b94341f233
					
				| @ -149,6 +149,8 @@ _zsh_nvm_revert() { | ||||
| 
 | ||||
| autoload -U add-zsh-hook | ||||
| _zsh_nvm_auto_use() { | ||||
|   _zsh_nvm_has nvm_find_nvmrc || return | ||||
| 
 | ||||
|   local node_version="$(nvm version)" | ||||
|   local nvmrc_path="$(nvm_find_nvmrc)" | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Luke Childs
						Luke Childs