mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-01 09:13:54 +00:00
c8a5adb412
* Add starship preset command * Use ValueEnum for preset command * Generate ValueEnum struct in build.rs * Use absolute paths and refactor codegen * Use dunce to canonicalize path * Use raw string literal in include_bytes! * Use .cloned() * Apply fixes * Fix path escaping * Removed error message if stdout is unavailable Co-authored-by: David Knaack <davidkna@users.noreply.github.com> Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
23 lines
696 B
Markdown
23 lines
696 B
Markdown
[Return to Presets](./README.md#pastel-powerline)
|
|
|
|
# Pastel Powerline Preset
|
|
|
|
This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/M365Princess.omp.json).
|
|
It also shows how path substitution works in starship.
|
|
|
|
![Screenshot of Pastel Powerline preset](/presets/img/pastel-powerline.png)
|
|
|
|
### Prerequisites
|
|
|
|
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Caskaydia Cove Nerd Font)
|
|
|
|
### Configuration
|
|
|
|
```sh
|
|
starship preset pastel-powerline > ~/.config/starship.toml
|
|
```
|
|
|
|
[Click to download TOML](/presets/toml/pastel-powerline.toml)
|
|
|
|
<<< @/.vuepress/public/presets/toml/pastel-powerline.toml
|