summaryrefslogtreecommitdiffstats
path: root/docs/zh-CN/advanced-config/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/zh-CN/advanced-config/README.md')
-rw-r--r--docs/zh-CN/advanced-config/README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/zh-CN/advanced-config/README.md b/docs/zh-CN/advanced-config/README.md
index d5d27031f..efd220415 100644
--- a/docs/zh-CN/advanced-config/README.md
+++ b/docs/zh-CN/advanced-config/README.md
@@ -1,10 +1,10 @@
-# Advanced Configuration
+# 高级配置
While Starship is a versatile shell, sometimes you need to do more than edit `starship.toml` to get it to do certain things. This page details some of the more advanced configuration techniques used in starship.
::: warning
-The configurations in this section are subject to change in future releases of Starship.
+本节所述的配置内容可能随 Starship 未来版本的更新而改变。
:::
@@ -31,7 +31,7 @@ trap blastoff DEBUG # Trap DEBUG *before* running starship
eval $(starship init bash)
```
-## Change Window Title
+## 更改窗口标题
Some shell prompts will automatically change the window title for you (e.g. to reflect your working directory). Fish even does it by default. Starship does not do this, but it's fairly straightforward to add this functionality to `bash` or `zsh`.
@@ -59,7 +59,7 @@ precmd_functions+=(set_win_title)
If you like the result, add these lines to your shell configuration file (`~/.bashrc` or `~/.zsrhc`) to make it permanent.
-## Style Strings
+## 样式设定
Style strings are a list of words, separated by whitespace. The words are not case sensitive (i.e. `bold` and `BoLd` are considered the same string). Each word can be one of the following: