mirror of
				https://github.com/lukechilds/zsh-nvm.git
				synced 2025-10-30 14:46:28 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			252 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			252 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| source ../common.sh
 | |
| 
 | |
| # Check nvm isn't already installed
 | |
| [[ ! -f "$NVM_DIR/nvm.sh" ]] || die "nvm is already installed $NVM_DIR/nvm.sh"
 | |
| 
 | |
| # Load zsh-nvm
 | |
| load_zsh_nvm
 | |
| 
 | |
| # Check nvm is now installed
 | |
| [[ -f "$NVM_DIR/nvm.sh" ]] || die "nvm wasn't installed"
 | 
