1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-11 21:57:52 +00:00
starship/src
David Knaack 52a89a515e
fix(dotnet): Remove duplicate v in dotnet version (#6060)
* Remove duplicate `v` in dotnet version

Every language version provider returns the version without a leading 'v', and the shared code then prepends the 'v'. Take a look at Python for example.

The Dotnet provider prepends a 'v' however, causing the version to be printed like 'vv8.0.203'.

* Update src/modules/dotnet.rs

* tests(dotnet): add test for obtaining version from cli

---------

Co-authored-by: Bernd Verst <github@bernd.dev>
2024-07-07 16:15:56 +02:00
..
configs feat(purescript): add support for spago-next configuration files (#6036) 2024-06-28 23:39:40 +02:00
formatter feat(color): add prev_fg and prev_bg as color specifiers based on the previous foreground/background colors respectively (#6017) 2024-06-28 23:40:35 +02:00
init fix(bash): fix handling of the preserved DEBUG trap (used in Bash <= 4.3) (#5908) 2024-04-16 08:16:00 +02:00
modules fix(dotnet): Remove duplicate v in dotnet version (#6060) 2024-07-07 16:15:56 +02:00
test fix(status): fix pipestatus width calculation (#5036) 2024-03-20 22:58:33 +01:00
bug_report.rs fix: replace unmaintained crates yaml-rust, dirs-next (#5887) 2024-03-29 12:14:57 +01:00
config.rs feat(color): add prev_fg and prev_bg as color specifiers based on the previous foreground/background colors respectively (#6017) 2024-06-28 23:40:35 +02:00
configure.rs build(deps): update toml crates (#5842) 2024-03-20 18:56:20 +09:00
context_env.rs chore: fix upcoming rust 1.77 clippy issues and chrono deprecations (#5850) 2024-03-20 18:57:14 +09:00
context.rs chore: fix rust 1.79 lint warnings (#6034) 2024-06-22 09:52:46 +02:00
lib.rs fix(config): Make print-config not panic without a config (#5001) 2023-04-13 19:29:21 -05:00
logger.rs fix: replace unmaintained crates yaml-rust, dirs-next (#5887) 2024-03-29 12:14:57 +01:00
main.rs chore: apply new rust 1.75 & nightly clippy fixes (#5646) 2023-12-30 17:29:37 +01:00
module.rs feat(color): add prev_fg and prev_bg as color specifiers based on the previous foreground/background colors respectively (#6017) 2024-06-28 23:40:35 +02:00
print.rs chore: fix rust 1.79 lint warnings (#6034) 2024-06-22 09:52:46 +02:00
segment.rs feat(color): add prev_fg and prev_bg as color specifiers based on the previous foreground/background colors respectively (#6017) 2024-06-28 23:40:35 +02:00
serde_utils.rs chore: fix rust 1.79 lint warnings (#6034) 2024-06-22 09:52:46 +02:00
utils.rs feat(nats): Add NATS Context (#5900) 2024-05-15 18:46:14 +02:00