Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(preset): Add no-nerd-font preset (#4517)
* feat(preset): Add powerline-only-symbols preset Related to #2563 & #3544 * Modify symbols for pulumi and erlang * Change some wording and add default notification * Update name of preset Co-authored-by: Kevin Song <chips@ksong.dev>
- Loading branch information
1 parent
d3cf18f
commit 4d86a4c
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[battery] | ||
full_symbol = "• " | ||
charging_symbol = "⇡ " | ||
discharging_symbol = "⇣ " | ||
unknown_symbol = "❓ " | ||
empty_symbol = "❗ " | ||
|
||
[erlang] | ||
symbol = "ⓔ " | ||
|
||
[nodejs] | ||
symbol = "[⬢](bold green) " | ||
|
||
[pulumi] | ||
symbol = "🧊 " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[Return to Presets](./README.md#no-nerd-fonts) | ||
|
||
# No Nerd Fonts Preset | ||
|
||
This preset restricts the use of symbols to those from emoji and powerline sets. | ||
|
||
This means that even without a Nerd Font installed, you should be able to view | ||
all module symbols. | ||
|
||
This preset will become the default preset in a future release of starship. | ||
|
||
### Configuration | ||
|
||
```sh | ||
starship preset no-nerd-font > ~/.config/starship.toml | ||
``` | ||
|
||
[Click to download TOML](/presets/toml/no-nerd-font.toml) | ||
|
||
<<< @/.vuepress/public/presets/toml/no-nerd-font.toml |