From a0a39e65d8e34bddb3243bc03e4f9c384b98fd9f Mon Sep 17 00:00:00 2001 From: neo Date: Mon, 1 Feb 2021 23:18:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E4=B8=AD=E7=AC=A6=E5=8F=B7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/guide/faq.md | 8 ++++---- docs/guide/m1.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/guide/faq.md b/docs/guide/faq.md index ff1b7f0..1f8a757 100644 --- a/docs/guide/faq.md +++ b/docs/guide/faq.md @@ -55,14 +55,14 @@ Use '--' to separate paths from revisions, like this: zsh ```shell -echo export PATH=/opt/homebrew/bin:$PATH >> ~/.zprofile +echo export PATH=/opt/homebrew/bin:$PATH >> ~/.zprofile source ~/.zprofile ``` bash ```shell -echo export PATH=/opt/homebrew/bin:$PATH >> ~/.bash_profile +echo export PATH=/opt/homebrew/bin:$PATH >> ~/.bash_profile source ~/.bash_profile ``` @@ -71,14 +71,14 @@ source ~/.bash_profile zsh ```shell -echo export PATH=/usr/local/bin:$PATH >> ~/.zprofile +echo export PATH=/usr/local/bin:$PATH >> ~/.zprofile source ~/.zprofile ``` bash ```shell -echo export PATH=/usr/local/bin:$PATH >> ~/.bash_profile +echo export PATH=/usr/local/bin:$PATH >> ~/.bash_profile source ~/.bash_profile ``` diff --git a/docs/guide/m1.md b/docs/guide/m1.md index 1ce95f0..d4177a1 100644 --- a/docs/guide/m1.md +++ b/docs/guide/m1.md @@ -40,14 +40,14 @@ PS: 终端类型根据执行命令`echo $SHELL`显示的结果: 从`macOS Catalina`(10.15.x) 版开始,`Mac`使用`zsh`作为默认`Shell`,使用`.zprofile`,所以对应命令: ```shell -echo export PATH=/opt/homebrew/bin:$PATH >> ~/.zprofile +echo export PATH=/opt/homebrew/bin:$PATH >> ~/.zprofile source ~/.zprofile ``` 如果是`macOS Mojave` 及更低版本,并且没有自己配置过`zsh`,使用`.bash_profile`: ```shell -echo export PATH=/opt/homebrew/bin:$PATH >> ~/.bash_profile +echo export PATH=/opt/homebrew/bin:$PATH >> ~/.bash_profile source ~/.bash_profile ``` @@ -111,6 +111,6 @@ source ~/.bash_profile 具体镜像设置参考[mac 安装教程](/guide/start/#part3)=>"设置镜像"一节。 -**如果觉得教程有用,欢迎多多分享宣传~** +**如果觉得教程有用,欢迎多多分享宣传~** [mac]:[https://zhuanlan.zhihu.com/p/90508170][github]:[https://github.com/ineo6/homebrew-install]