mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
docs: Update CN translation for idf-tools.rst
This commit is contained in:
parent
79031f1905
commit
bd9db4e08c
@ -182,9 +182,9 @@ Since the installed tools are not permanently added to the user or system ``PATH
|
||||
|
||||
.. note::
|
||||
|
||||
To modify the shell environment in Bash, ``export.sh`` must be "sourced" by using the ``. ./export.sh`` command. Please ensure to include the leading dot and space.
|
||||
To modify the shell environment in Bash, ``export.sh`` must be "sourced" by using the command ``. ./export.sh``. Please ensure to include the leading dot and space.
|
||||
|
||||
``export.sh`` may be used with various shells like Bash, Zsh, sh, dash, etc. When using Bash or Zsh, you can run it from any path (e.g., ``. ./<<some_path>>/export.sh``) as it automatically detects IDF_PATH. For other shells, it must be run from the ESP-IDF directory (``. ./export.sh``) to locate IDF_PATH correctly.
|
||||
``export.sh`` may be used with various shells like Bash, Zsh, sh, dash, etc. When using Bash or Zsh, you can run it from any path (e.g., ``. ./<<some_path>>/export.sh``) as it automatically detects ``IDF_PATH``. For other shells, it must be run from the ESP-IDF directory (``. ./export.sh``) to locate ``IDF_PATH`` correctly.
|
||||
|
||||
activate.py
|
||||
~~~~~~~~~~~
|
||||
|
@ -184,7 +184,7 @@ ESP-IDF 的根目录中提供了针对不同 shell 的用户安装脚本,包
|
||||
|
||||
在 Bash 中修改 shell 环境时,必须使用 ``. ./export.sh`` 命令加载 ``export.sh``,注意添加前面的点和空格。
|
||||
|
||||
``export.sh`` 可以在除了 Bash 外的其他 shell(如 zsh)中使用。但在这种情况下,必须在运行脚本前设置 ``IDF_PATH`` 环境变量。在 Bash 中使用时,脚本会从当前目录猜测 ``IDF_PATH`` 的值。
|
||||
``export.sh`` 可以在多种 shell 中使用,例如 bash、sh、zsh、dash 等。在使用 bash 或 zsh 时,可以在任何路径中直接运行(例如 ``. ./<<some_path>>/export.sh``),这是因为它能够自动检测到 ``IDF_PATH``。若使用其它 shell, 则必须在 ESP-IDF 路径中运行 (``. ./export.sh``),才能正确找到 ``IDF_PATH``。
|
||||
|
||||
activate.py
|
||||
~~~~~~~~~~~
|
||||
|
Loading…
x
Reference in New Issue
Block a user