mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	[Refactor] Add missing backslash for dots
Related: #1279,2a2b8bd,cadbbce
This commit is contained in:
		
				
					committed by
					
						 Jordan Harband
						Jordan Harband
					
				
			
			
				
	
			
			
			
						parent
						
							b7f9fbd3a7
						
					
				
				
					commit
					7ed1e71944
				
			| @@ -74,7 +74,7 @@ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | | ||||
|  | ||||
| ```sh | ||||
| export NVM_DIR="$HOME/.nvm" | ||||
| [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | ||||
| [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | ||||
| ``` | ||||
|  | ||||
| You can customize the install source, directory, profile, and version using the `NVM_SOURCE`, `NVM_DIR`, `PROFILE`, and `NODE_VERSION` variables. | ||||
| @@ -124,7 +124,7 @@ Add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it | ||||
|  | ||||
| ```sh | ||||
| export NVM_DIR="$HOME/.nvm" | ||||
| [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | ||||
| [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | ||||
| ``` | ||||
|  | ||||
| ### Manual upgrade | ||||
|   | ||||
		Reference in New Issue
	
	Block a user