The original rust section displays the verbose version by default. For example: v1.30.0-nightly, v1.30.0-beta or v1.30.0, depending on what branch you were using. (Stable not having a suffix)
This change makes non-verbose version numbers the default v1.30.0, and a config option to enable it only if wanted.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
(All three)
How Has This Been Tested?
[ ] I have tested using MacOS
[x] I have tested using Linux
I have tested using the ./tests/run.fish locally, as well as running logical snippets in my shell to make sure the syntax is correct.
Checklist:
[x] I have checked that no other PR duplicates mine
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
Description
This adds a config option to enable/disable verbose versioning, which should be disabled by default.
Upstream pull request: https://github.com/denysdovhan/spaceship-prompt/pull/521
Motivation and Context
The original rust section displays the verbose version by default. For example:
v1.30.0-nightly
,v1.30.0-beta
orv1.30.0
, depending on what branch you were using. (Stable not having a suffix)This change makes non-verbose version numbers the default
v1.30.0
, and a config option to enable it only if wanted.Types of changes
How Has This Been Tested?
I have tested using the
./tests/run.fish
locally, as well as running logical snippets in my shell to make sure the syntax is correct.Checklist: