2022-06-16 14:48:50 +02:00
|
|
|
[返回全部预设](./README.md#nerd-font-symbols)
|
2022-03-09 03:11:36 +01:00
|
|
|
|
2022-06-16 14:48:50 +02:00
|
|
|
# Nerd 字体符号预设
|
2022-03-09 03:11:36 +01:00
|
|
|
|
2022-06-16 14:48:50 +02:00
|
|
|
此预设使用 Nerd 字体的符号显示所有组件。
|
2022-03-09 03:11:36 +01:00
|
|
|
|
2022-06-16 14:48:50 +02:00
|
|
|
![Nerd 字体符号预设截图](/presets/img/nerd-font-symbols.png)
|
2022-03-09 03:11:36 +01:00
|
|
|
|
|
|
|
### 前置要求
|
|
|
|
|
|
|
|
- 安装一种 [Nerd 字体](https://www.nerdfonts.com/) 并在您的终端启用(示例使用的是 Fira Code 字体)。
|
|
|
|
|
|
|
|
### 配置
|
|
|
|
|
2022-08-14 21:31:27 +02:00
|
|
|
```sh
|
2023-04-11 06:05:27 +02:00
|
|
|
starship preset nerd-font-symbols -o ~/.config/starship.toml
|
2022-08-14 21:31:27 +02:00
|
|
|
```
|
|
|
|
|
2022-06-16 14:48:50 +02:00
|
|
|
[点击下载 TOML 文件](/presets/toml/nerd-font-symbols.toml)
|
2022-03-09 03:11:36 +01:00
|
|
|
|
|
|
|
<<< @/.vuepress/public/presets/toml/nerd-font-symbols.toml
|