Commit Graph

35 Commits

Author SHA1 Message Date
nataziel
f505ceb757
docs(preset): add Jetpack to presets/README.md (#5797) 2024-02-27 09:20:32 +01:00
Zhou Fang
af1f08ce16
docs(preset): add gruvbox rainbow preset (#5321)
* docs: add new preset gruvbox-rainbow

* docs: add readme page of gruvbox-rainbow preset

* docs: update the screenshot of gruvbox-rainbow

* fix: update the background color of root

* format: fix markdown format

* format: fix markdown format with dprint

* docs(presets): sort the options

* docs(presets): use $linebreak instead of \n

* docs(presets): add icons for redhat distro

* perf: put the space into version block

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* docs(presets): use custom palette to manage colors

* docs(presets): put the space into version block for all context

* docs(presets): add prefix to color names

---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2023-08-02 17:32:03 +02:00
mutation
35889bfebd
docs(presets): fix the scope of tip block (#4788) 2023-01-03 17:55:03 +09:00
Hanchin Hsieh
e01a4cc8d8
docs: add Tokyo Night preset (#4668) 2022-11-30 17:36:03 +09:00
Jan Klass
1a3d51fe76
feat(preset): Add No Empty Icons preset (#4518)
* feat(preset): Add No Empty Icons preset

When toolset files are identified by the Starship module, the default format displays the toolset icon, and additional information.

When the toolset executables are not available, the additional information (like version number) is missing. Only the toolset icon is displayed.

The No Empty Icons preset changes the format configuration to not show the toolset icons if the variables are empty - presumably because the toolset is not installed or found.

Closes #3070
Related #3248

* Remove non-version-related modules from preset

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* Add new module opa to preset

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* Drop unnecessary inner conditional from format

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* Remove commit_hash_length setting from preset

* Remove undesired modules

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2022-11-06 22:39:04 +01:00
Segev Finer
4d86a4c7ae
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>
2022-11-01 08:38:46 +01:00
Huhni
5fc8ba7636
docs(preset): add Pastel Powerline preset (#3761)
Co-authored-by: Matan Kushner <hello@matchai.dev>
2022-03-18 13:24:54 -04:00
Kid
7cdc230100
fix(docs): fix and cleanup VuePress config (#3738)
* Use relative links

* Remove migrating link

* Fix zh-* config

* Adjust how sidebar is generated

* Enable evergreen

* Format

* Update docs/.vuepress/config.js

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2022-03-11 14:48:44 -06:00
Kevin Song
77f2f56481
docs: Update Preset system with several additional features (#3683)
* New preset system

* Add Rust to NerdFonts preset

* Add more links and access

Add image titles and links in headers to make things more accessible.

* Shrink + optimize PNG images
2022-03-08 16:54:26 -05:00
Zachary Dodge
52b0e6512a
docs(preset): Fix redundant space in duration bracket preset (#3548)
* fix: redundant space in duration bracket preset

* revert: translated preset docs changes

This reverts commit be3349324b.

Co-authored-by: Zachary Dodge <zdodge@amazon.com>
2022-01-31 15:16:41 -06:00
TrickyPi
65f29754d3
fix(nodejs): use e718 as the default of symbol in node configuration (#3533)
* fix: use e718 as the default of symbol in node configuration

* wip: change nodejs symbol in docs/config & add a nodejs symbol configuration in docs/presets

* wip: update CONTRIBUTING.md
2022-01-30 10:28:00 +01:00
Matan Kushner
0af31238f6
docs: add missing quote in bracketed preset 2022-01-06 12:17:56 +03:00
Gabriel Victor
779e53cd66
feat(module): Add sudo module (#3135)
* add feature - sudo module

* add sudo module identifiers and entry point

* fix test test_sudo_not_cached

* add test test_sudo_cached

* add `allow_windows` and `binary` options

* rustfmt sudo_x_cached and rmv them on windows

* add false `allow_windows` block windows test

* add `doas` cached/not_cached tests

* better description in `starship explain`

* fix `test_doas_cached` with `-n` flag

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* rmv `binary` alternatives and their tests

* fix symbol and update config/README

* fix all mocks to use `sudo -n true`

* fix expected output in `test_sudo_cached`

* proper checking for blocked sudo

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* add `allow_windows = true` to non-windows tests

* allow sudo_* tests to run on windows + fix parsed

* rustfmt `blocks_windows` test

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2021-11-15 06:46:13 +01:00
Ian Wahbe
dfb1208787
feat: Add pulumi module (#3055) 2021-10-05 18:27:25 -05:00
Tim Kelty
9637e331ad
docs: add Pure prompt preset (#3066) 2021-09-30 20:03:45 -04:00
Bill
08b5cd0862
feat(cobol): added COBOL module (#2994)
* feat: added COBOL module

* slight README fix

* added command faking for COBOL

* updated COBOL symbol to better suit language

Co-authored-by: Bill Risher <bill@encephaloinvestments.com>
2021-09-07 09:59:14 -05:00
Johannes Hoffmann
43a86f1a29
docs(preset): prevent cutting of the time (#2870)
* fix: prevent cutting of the time

* fix: apply suggestions from review and add space

Co-authored-by: user <user@localhost.localdomain>
2021-08-03 23:50:02 +02:00
Kid
b041adf4dc
docs(preset): add Hide Runtime Versions preset (#2854) 2021-07-19 20:30:24 +02:00
Kid
2f696d5590
docs(preset): add a new SHLVL icon to Nerd Font Symbols preset (#2809) 2021-06-20 12:40:28 -04:00
Diego Zamboni
51f0ec1159
docs: Added more bracketed segments (#2769)
A few of the supported segments were missing from the preset, have now
been added.
2021-05-29 18:46:19 +02:00
Rumia
a16e29cfb7
docs(preset): New preset "Plain Text Symbol" (#2749)
* Add plain text preset

* Add git symbols to plain text symbols
2021-05-22 19:08:21 +02:00
Diego Zamboni
5556350d84
docs: New preset "Bracketed Segments" (#2747)
This preset changes all the built-in formats to show their segment in
brackets instead of using the default Starship wording ("via", "on",
etc.).
2021-05-20 15:36:48 -04:00
David Knaack
9738b84b6f
fix: fix docker_context module name in nf preset (#2526) 2021-03-28 22:36:09 +02:00
Kid
dde61f5cf3
docs(preset): remove unnecessary Node.js and Haskell symbol config (#2491)
* docs(preset): remove unnecessary Node.js symbol config

* remove haskell symbol config
2021-03-24 18:20:27 +01:00
Beni Ben zikry
dd5c62791c
feat(scala): Add scala module (#2409)
* Add support for scala ( w/o sbt )

* Add scala description

* Change scala color to bold red

* update scala extensions in README

* failed lint

* cr changes ( regex, simplify parsing, imports )

* Scala readme punctuation

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2021-03-14 20:37:00 +01:00
Eric Nielsen
fb6cefa4b5
style(aws): Add spacing between profile and region (#2417)
and also after the symbol when using the Nerd font glyph.
2021-03-06 20:47:06 +01:00
David Knaack
6de4bb01f4
feat(battery): make module behaviour more obvious (#1950) 2021-01-01 12:16:55 +01:00
Paulo Santana
936962ee3c
docs(preset): add a Nerd Font icon for "read_only" directories (#1968) 2020-12-06 19:33:29 -05:00
Giorgio Gallo
87424d2eaf
docs: update rust icon in preset configuration (#1900) 2020-11-17 20:32:48 +01:00
Stéphane Benoit
c07b798046
docs: Add perl official logo in NerdFont (#1558) 2020-08-04 23:15:58 +02:00
Dario Vladović
84f049f836
feat(dart): add Dart module (#1392) 2020-07-29 11:38:23 -04:00
Dario Vladović
feb4124cac
feat(swift): add Swift module (#1261) 2020-07-29 11:36:49 -04:00
Rekihyt
fcd003785b
feat(nim): Add Nim module (#1189)
* Nim module and tests

* Add nim to docs

* parse_nim_version refactor, add nim desc

* Add nim symbol to Nerd Font preset

* Yellow with v prefix as default version

* Nim version fmt fix

* Update docs/config/README.md

Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>

* Update src/modules/nim.rs

Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>

* Nim module and tests

* Add nim to docs

* Yellow with v prefix as default version

* Update docs/config/README.md

Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>

* Update src/modules/nim.rs

Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>

* Add nim to docs, proper version formatting.

* Remove v from symbol, add to fmt string

* cargo fmt

Co-authored-by: Dario Vladovic <d.vladimyr@gmail.com>
2020-06-09 19:14:47 +02:00
John Letey
cd177cffa7
docs: update NerdFont preset to include new modules (#1077) 2020-04-09 12:49:54 -04:00
Matan Kushner
3ddb7460a6
docs: Add a "Presets" page to the website (#783) 2019-12-23 22:32:48 -05:00