mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	This patch adds support for terminal emulators. Without this it wont work on gnome-terminal on Ubuntu
This commit is contained in:
		| @@ -100,6 +100,8 @@ if [ -z "$PROFILE" ]; then | |||||||
|     PROFILE="$HOME/.bash_profile" |     PROFILE="$HOME/.bash_profile" | ||||||
|   elif [ -f "$HOME/.zshrc" ]; then |   elif [ -f "$HOME/.zshrc" ]; then | ||||||
|     PROFILE="$HOME/.zshrc" |     PROFILE="$HOME/.zshrc" | ||||||
|  |   elif [ -f "$HOME/.bashrc" ]; then | ||||||
|  |     PROFILE="$HOME/.bashrc" | ||||||
|   elif [ -f "$HOME/.profile" ]; then |   elif [ -f "$HOME/.profile" ]; then | ||||||
|     PROFILE="$HOME/.profile" |     PROFILE="$HOME/.profile" | ||||||
|   fi |   fi | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user