1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-28 15:56:28 +00:00
starship/docs/.vuepress/public
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
..
presets feat(preset): Add No Empty Icons preset (#4518) 2022-11-06 22:39:04 +01:00
_redirects docs: Add vuepress with initial docs (#99) 2019-07-19 16:18:52 -04:00
config-schema.json revert(schema): move config-schema back into .github folder (#3886) 2022-04-18 17:42:47 +02:00
demo.mp4 docs: Add new demo gif to README (#231) 2019-08-22 20:03:45 -04:00
demo.webm docs: Add new demo gif to README (#231) 2019-08-22 20:03:45 -04:00
icon.png docs: Add vuepress with initial docs (#99) 2019-07-19 16:18:52 -04:00
install.sh docs: Simplify installation process and docs (#643) 2019-12-05 13:15:21 -05:00
logo.png docs: Add vuepress with initial docs (#99) 2019-07-19 16:18:52 -04:00
logo.svg docs: Add vuepress with initial docs (#99) 2019-07-19 16:18:52 -04:00
nerd-font.woff2 docs: Add a "Presets" page to the website (#783) 2019-12-23 22:32:48 -05:00
robots.txt docs: Add sitemap and robots.txt 2019-11-05 22:29:46 +09:00