mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-12 06:07:56 +00:00
7485c90c9f
* feat(docs): move to vitepress * change up hero styles to match existing site * A bit more style tweaking * Replace stylus with plain CSS * improve unicode-range value for nerdfont --------- Co-authored-by: Matan Kushner <hello@matchai.dev>
22 lines
677 B
Markdown
22 lines
677 B
Markdown
[返回全部预设](./#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)
|
|
|
|
<<< @/public/presets/toml/pastel-powerline.toml
|