mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-01 17:23:53 +00:00
62 lines
1.0 KiB
Markdown
62 lines
1.0 KiB
Markdown
# 社区配置分享
|
||
|
||
这里有一系列社区提供的 Starship 预设配置。 如果您想分享一套配置,请 [提交 PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) 来更新此文件! 😊
|
||
|
||
## Nerd Font Symbols
|
||
|
||
除了每个组件使用的符号外,这套配置不会改变任何内容。 如果你不喜欢 emoji,这可能会吸引你的眼球!
|
||
|
||
![Screenshot of Nerd Font Symbols preset](/presets/nerd-font-symbols.png)
|
||
|
||
### 基础要求
|
||
|
||
- 安装一种 [Nerd 字体](https://www.nerdfonts.com/) 并在您的终端启用(示例使用的是 Fira Code 字体)。
|
||
|
||
### 配置
|
||
|
||
```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 = " "
|
||
```
|