mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-13 15:41:51 +00:00
updated for ubuntu users
added .bashrc before .profile for ubuntu users
This commit is contained in:
parent
a6005dff8c
commit
2067f931cb
@ -27,6 +27,8 @@ if [ ! -z "$1" ]; then
|
|||||||
else
|
else
|
||||||
if [ -f "$HOME/.bash_profile" ]; then
|
if [ -f "$HOME/.bash_profile" ]; then
|
||||||
PROFILE="$HOME/.bash_profile"
|
PROFILE="$HOME/.bash_profile"
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user