1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-19 11:35:16 +00:00
starship/docs/zh-CN/presets/README.md

80 lines
1.2 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 = " "
[docker]
symbol = " "
[elixir]
symbol = " "
[elm]
symbol = " "
2019-12-24 21:54:29 +00:00
[git_branch]
symbol = " "
[golang]
symbol = " "
[haskell]
symbol = " "
2019-12-24 21:54:29 +00:00
[hg_branch]
symbol = " "
[java]
symbol = " "
[julia]
symbol = " "
2019-12-24 21:54:29 +00:00
[memory_usage]
symbol = " "
[nix_shell]
symbol = " "
2019-12-24 21:54:29 +00:00
[nodejs]
symbol = " "
[package]
symbol = " "
[php]
symbol = " "
[python]
symbol = " "
[ruby]
symbol = " "
[rust]
symbol = " "
```