From c9a40d2b7d190cfea851057add47432ba331d60e Mon Sep 17 00:00:00 2001 From: neo Date: Thu, 25 Mar 2021 11:11:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20install=E8=84=9A=E6=9C=AC=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E4=B8=AD=E6=96=87=E5=BC=BA=E8=B0=83=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 476edc3..39e7099 100755 --- a/install.sh +++ b/install.sh @@ -727,6 +727,7 @@ ohai "Downloading and installing Homebrew..." ) || exit 1 if [[ ":${PATH}:" != *":${HOMEBREW_PREFIX}/bin:"* ]]; then + warn "看到此提示,一定要执行 Next steps 中的 环境变量设置!!!" warn "${HOMEBREW_PREFIX}/bin is not in your PATH." fi @@ -775,8 +776,9 @@ case "$SHELL" in ;; esac if [[ "$UNAME_MACHINE" == "arm64" ]] || [[ -n "${HOMEBREW_ON_LINUX-}" ]]; then + echo "切记执行环境变量设置!,如已执行过请忽略。" cat <> ${shell_profile} eval "\$(${HOMEBREW_PREFIX}/bin/brew shellenv)" EOS @@ -791,8 +793,8 @@ if [[ -n "${non_default_repos}" ]]; then printf " %s\n" "${additional_shellenv_commands[@]}" fi -echo "- Run \`brew help\` to get started" -echo "- Further documentation: " +echo "- 运行 \`brew help\` 开始体验吧" +echo "- 更多文档: " echo " ${tty_underline}https://docs.brew.sh${tty_reset}" if [[ -n "${HOMEBREW_ON_LINUX-}" ]]; then