mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Merge 9205ff8001
into 367ae728fb
This commit is contained in:
commit
4302af14c9
@ -35,7 +35,7 @@ if [ -z "$PROFILE" ] || [ ! -f "$PROFILE" ] ; then
|
||||
fi
|
||||
echo "=> Append the following line to the correct file yourself"
|
||||
echo
|
||||
echo -e "\t$SOURCE_STR"
|
||||
echo "\t$SOURCE_STR"
|
||||
echo
|
||||
echo "=> Close and reopen your terminal to start using NVM"
|
||||
exit
|
||||
@ -43,7 +43,7 @@ fi
|
||||
|
||||
if ! grep -qc 'nvm.sh' $PROFILE; then
|
||||
echo "=> Appending source string to $PROFILE"
|
||||
echo -e "\n" >> "$PROFILE"
|
||||
echo "\n" >> "$PROFILE"
|
||||
echo $SOURCE_STR >> "$PROFILE"
|
||||
else
|
||||
echo "=> Source string already in $PROFILE"
|
||||
|
Loading…
Reference in New Issue
Block a user