summaryrefslogtreecommitdiffstats
path: root/docs/zh-CN/faq/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/zh-CN/faq/README.md')
-rw-r--r--docs/zh-CN/faq/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/zh-CN/faq/README.md b/docs/zh-CN/faq/README.md
index 5b8439e2c..3168265ae 100644
--- a/docs/zh-CN/faq/README.md
+++ b/docs/zh-CN/faq/README.md
@@ -69,13 +69,13 @@ If you see symbols that you don't recognise you can use `starship explain` to ex
You can enable the debug logs by using the `STARSHIP_LOG` env var. These logs can be very verbose so it is often useful to use the `module` command if you are trying to debug a particular module, for example, if you are trying to debug the `rust` module you could run the following command to get the trace logs and output from the module.
```sh
-env STARHIP_LOG=trace starship module rust
+env STARSHIP_LOG=trace starship module rust
```
If starship is being slow you can try using the `timings` command to see if there is a particular module or command that to blame.
```sh
-env STARHIP_LOG=trace starship timings
+env STARSHIP_LOG=trace starship timings
```
This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output.
@@ -118,5 +118,5 @@ Starship 的卸载过程与安装过程一样简单。
```sh
# Locate and delete the starship binary
-sh -c 'rm "$(which starship)"'
+sh -c 'rm "$(command -v 'starship')"'
```