1
0
mirror of https://github.com/nvm-sh/nvm.git synced 2025-10-12 12:06:20 +08:00

Adding a newline before the source string in the ".bash_profile"

Resolved Issue #197
This commit is contained in:
Artem 2013-02-27 11:50:08 +02:00
parent 1088b4b00f
commit 9c7da6cec3

View File

@ -43,6 +43,7 @@ fi
if ! grep -qc 'nvm.sh' $PROFILE; then
echo "=> Appending source string to $PROFILE"
echo -e "\n" >> "$PROFILE"
echo $SOURCE_STR >> "$PROFILE"
else
echo "=> Source string already in $PROFILE"