From 2251dbb3dfe6860ba7f433385b6b8e2d4f5ccc40 Mon Sep 17 00:00:00 2001 From: imlk Date: Thu, 2 Apr 2020 23:06:53 +0800 Subject: fix scripts/get.sh --- scripts/get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/get.sh b/scripts/get.sh index 4aca01913..e1f8b89ff 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -209,7 +209,7 @@ else fi write_profile() { - grep -sq ".xmake/profile" $1 || echo "[[ -s \"\$HOME/.xmake/profile\" ]] && source \"\$HOME/.xmake/profile\" # load xmake profile" >> $1 + grep -sq ".xmake/profile" $1 || echo -e "\n[[ -s \"\$HOME/.xmake/profile\" ]] && source \"\$HOME/.xmake/profile\" # load xmake profile" >> $1 } install_profile() { -- cgit v1.3.1