87 lines
1.2 KiB
Markdown
87 lines
1.2 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 = " "
|
||
|
||
[conda]
|
||
symbol = " "
|
||
|
||
[dart]
|
||
symbol = " "
|
||
|
||
[directory]
|
||
read_only = " "
|
||
|
||
[docker_context]
|
||
symbol = " "
|
||
|
||
[elixir]
|
||
symbol = " "
|
||
|
||
[elm]
|
||
symbol = " "
|
||
|
||
[git_branch]
|
||
symbol = " "
|
||
|
||
[golang]
|
||
symbol = " "
|
||
|
||
[hg_branch]
|
||
symbol = " "
|
||
|
||
[java]
|
||
symbol = " "
|
||
|
||
[julia]
|
||
symbol = " "
|
||
|
||
[memory_usage]
|
||
symbol = " "
|
||
|
||
[nim]
|
||
symbol = " "
|
||
|
||
[nix_shell]
|
||
symbol = " "
|
||
|
||
[package]
|
||
symbol = " "
|
||
|
||
[perl]
|
||
symbol = " "
|
||
|
||
[php]
|
||
symbol = " "
|
||
|
||
[python]
|
||
symbol = " "
|
||
|
||
[ruby]
|
||
symbol = " "
|
||
|
||
[rust]
|
||
symbol = " "
|
||
|
||
[scala]
|
||
symbol = " "
|
||
|
||
[swift]
|
||
symbol = "ﯣ "
|
||
```
|