mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-28 15:56:28 +00:00
22 lines
695 B
Markdown
22 lines
695 B
Markdown
[返回全部预设](./README.md#pastel-powerline)
|
|
|
|
# Pastel Powerline Preset
|
|
|
|
此预设的灵感来自于 [M365Princess](https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/M365Princess.omp.json)。 它同时也演示了 Starship 的路径替换功能。
|
|
|
|
![Screenshot of Pastel Powerline preset](/presets/img/pastel-powerline.png)
|
|
|
|
### 前置要求
|
|
|
|
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Caskaydia Cove Nerd Font)
|
|
|
|
### 配置
|
|
|
|
```sh
|
|
starship preset pastel-powerline > ~/.config/starship.toml
|
|
```
|
|
|
|
[点击下载 TOML 文件](/presets/toml/pastel-powerline.toml)
|
|
|
|
<<< @/.vuepress/public/presets/toml/pastel-powerline.toml
|