mirror of
				https://github.com/lukechilds/zsh-nvm.git
				synced 2025-10-30 14:46:28 +08:00 
			
		
		
		
	Don't load/install nvm in tests that don't need to
This commit is contained in:
		
							parent
							
								
									8367ab3120
								
							
						
					
					
						commit
						6f7c9ff4cc
					
				| @ -1,5 +1,8 @@ | |||||||
| source ../common.sh | source ../common.sh | ||||||
| 
 | 
 | ||||||
|  | # We don't need to actually load nvm for this test | ||||||
|  | export ZSH_NVM_NO_LOAD=true | ||||||
|  | 
 | ||||||
| # Check ZSH_NVM_DIR isn't already set | # Check ZSH_NVM_DIR isn't already set | ||||||
| [[ -z ${ZSH_NVM_DIR+x} ]] || die "ZSH_NVM_DIR already set" | [[ -z ${ZSH_NVM_DIR+x} ]] || die "ZSH_NVM_DIR already set" | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Luke Childs
						Luke Childs