]> granicus.if.org Git - esp-idf/commitdiff
alias 需要添加到 .bashrc 文件中
authorCarney Wu <cubicwork@qq.com>
Sun, 24 Jun 2018 15:16:24 +0000 (23:16 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Mon, 9 Jul 2018 06:36:47 +0000 (14:36 +0800)
Merges https://github.com/espressif/esp-idf/pull/2097

docs/zh_CN/get-started/linux-setup.rst

index 8c5c0cf6badbcaa5312b2954659676b1be3a2eb1..500f248ee75696dbbbd32a125726194bc9efa36b 100644 (file)
@@ -55,7 +55,7 @@ Linux 版的 ESP32 工具链可以从 Espressif 的网站下载:
 
     .. note::
     
-        如果将 ``/bin/bash`` 设置为登录 shell,且同时存在 ``.bash_profile`` 和 ``.profile``,则更新 ``.bash_profile`` 。
+        如果将 ``/bin/bash`` 设置为登录 shell,且同时存在 ``.bash_profile`` 和 ``.profile``,则更新 ``.bash_profile`` 。在 CentOS 环境下, ``alias`` 需要添加到 ``.bashrc`` 文件中。
     
 3. 退出并重新登录以使 ``.profile`` 更改生效。 运行以下命令来检查 ``PATH`` 设置是否正确: ::