mirror of
https://github.com/starship/starship.git
synced 2024-11-23 00:33:16 +01:00
22 lines
696 B
Markdown
22 lines
696 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 -o ~/.config/starship.toml
|
|
```
|
|
|
|
[点击下载 TOML 文件](/presets/toml/pastel-powerline.toml)
|
|
|
|
<<< @/.vuepress/public/presets/toml/pastel-powerline.toml
|