mirror of
				https://github.com/lukechilds/zsh-nvm.git
				synced 2025-10-30 14:46:28 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			280 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			280 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| source ../common.sh
 | |
| 
 | |
| # Load zsh-nvm
 | |
| load_zsh_nvm
 | |
| 
 | |
| # Check unwrapped nvm doesn't have revert command
 | |
| _zsh_nvm_nvm revert && die "Unwrapped nvm already has revert command"
 | |
| 
 | |
| # Check nvm is wrapped with our revert command
 | |
| nvm revert || die "nvm isn't wrapped with our revert command"
 | 
