1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-01 09:13:54 +00:00
starship/docs/zh-CN/presets/README.md

62 lines
1.0 KiB
Markdown
Raw Normal View History

2020-02-04 17:11:36 +00:00
# 社区配置分享
2019-12-24 21:54:29 +00:00
2020-02-04 17:11:36 +00:00
这里有一系列社区提供的 Starship 预设配置。 如果您想分享一套配置,请 [提交 PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) 来更新此文件! 😊
2019-12-24 21:54:29 +00:00
## Nerd Font Symbols
2020-02-04 17:11:36 +00:00
除了每个组件使用的符号外,这套配置不会改变任何内容。 如果你不喜欢 emoji这可能会吸引你的眼球
2019-12-24 21:54:29 +00:00
![Screenshot of Nerd Font Symbols preset](/presets/nerd-font-symbols.png)
### 基础要求
2020-02-04 17:11:36 +00:00
- 安装一种 [Nerd 字体](https://www.nerdfonts.com/) 并在您的终端启用(示例使用的是 Fira Code 字体)。
2019-12-24 21:54:29 +00:00
### 配置
```toml
[aws]
symbol = " "
[battery]
full_symbol = ""
charging_symbol = ""
discharging_symbol = ""
[conda]
symbol = " "
[git_branch]
symbol = " "
[golang]
symbol = " "
[hg_branch]
symbol = " "
[java]
symbol = " "
[memory_usage]
symbol = " "
[nodejs]
symbol = " "
[package]
symbol = " "
[php]
symbol = " "
[python]
symbol = " "
[ruby]
symbol = " "
[rust]
symbol = " "
```