mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	make "list" a synonym for "ls"
This commit is contained in:
		
							
								
								
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -200,7 +200,7 @@ nvm() | |||||||
|       export NVM_BIN="$NVM_DIR/$VERSION/bin" |       export NVM_BIN="$NVM_DIR/$VERSION/bin" | ||||||
|       echo "Now using node $VERSION" |       echo "Now using node $VERSION" | ||||||
|     ;; |     ;; | ||||||
|     "ls" ) |     "ls" | "list" ) | ||||||
|       if [ $# -ne 1 ]; then |       if [ $# -ne 1 ]; then | ||||||
|         nvm_version $2 |         nvm_version $2 | ||||||
|         return |         return | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user