mirror of
https://github.com/starship/starship.git
synced 2024-11-29 19:53:38 +01: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>
22 lines
589 B
Markdown
22 lines
589 B
Markdown
[Return to Presets](./README.md#nerd-font-symbols)
|
|
|
|
# Nerd Font Symbols Preset
|
|
|
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
|
|
|
![Screenshot of Nerd Font Symbols preset](/presets/img/nerd-font-symbols.png)
|
|
|
|
### Prerequisites
|
|
|
|
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Fira Code Nerd Font)
|
|
|
|
### Configuration
|
|
|
|
```sh
|
|
starship preset nerd-font-symbols > ~/.config/starship.toml
|
|
```
|
|
|
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
|
|
|
|
<<< @/.vuepress/public/presets/toml/nerd-font-symbols.toml
|