mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	Updated error message for missing profile file
This commit is contained in:
		| @@ -111,7 +111,7 @@ SOURCE_STR="\nexport NVM_DIR=\"$NVM_DIR\"\n[ -s \"\$NVM_DIR/nvm.sh\" ] && . \"\$ | |||||||
|  |  | ||||||
| if [ -z "$PROFILE" ] || [ ! -f "$PROFILE" ] ; then | if [ -z "$PROFILE" ] || [ ! -f "$PROFILE" ] ; then | ||||||
|   if [ -z "$PROFILE" ]; then |   if [ -z "$PROFILE" ]; then | ||||||
|     echo "=> Profile not found. Tried ~/.bash_profile, ~/.zshrc, and ~/.profile." |     echo "=> Profile not found. Tried ~/.bash_profile, ~/bashrc, ~/.zshrc, and ~/.profile." | ||||||
|     echo "=> Create one of them and run this script again" |     echo "=> Create one of them and run this script again" | ||||||
|   else |   else | ||||||
|     echo "=> Profile $PROFILE not found" |     echo "=> Profile $PROFILE not found" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user