1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-26 11:42:36 +00:00
starship/src
exincore 3109943822
feat: Add operating system module (#4109)
* docs(os): Add os module documentation

* docs(os): Add os to Default Prompt Format

* chore(os): Update config file schema

* feat(os): Add os entries and declarations

* feat(os): Add os module and config

* fix(os): Obey config.disabled

* feat(os): make variables 'Unknown'-aware

refactor(os): calculate variables in dedicated functions

* test(os): Add os module tests

* feat(os): make 'name' variable less 'Unknown'-aware

* docs(os): Add Preset configurations

docs(os): Use emoji as default

* feat(os): Use emoji as default

test(os): Use emoji as default

* fix(os): Add spaces after emoji symbols

* chore(os): Update config schema

* feat(os): Remove `bitness` variable

docs(os): Remove `bitness` variable

test(os): Remove `bitness` test

* feat(os): Add Cargo.toml upgrade caution for os_info

* refactor(os): Clarify get_symbol function

* docs(os): Mention supported operating systems and feature requests

* docs(os): Mention os_info inacurracy

* test(os): Remove `bitness` leftovers

* refactor(os): use nu_ansi_term

* refactor(os): add cfg_attr(schemars(deny_unknown_fields))

* chore(os): update config schema

* docs(os): expose details block

* feat(os): add garuda linux

* chore(os): update config schema

* feat(os): add case insensitivity

* feat(os): add symbols `IndexMap` use `os_info::Type` instead of `String`

* test(os): add clippy warn on new os_info::Type case

* leave missing case to test github tests

* test(os): re-add missing test case

* style(os): fix formatting

* docs(os): update to match os_info::Type serialization

- docs(os): add missing garuda to config

- test(os): mention docs updates in warn_on_os_info_update
2022-11-06 22:37:58 +01:00
..
configs feat: Add operating system module (#4109) 2022-11-06 22:37:58 +01:00
formatter chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
init chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
modules feat: Add operating system module (#4109) 2022-11-06 22:37:58 +01:00
test chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
bug_report.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
config.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
configure.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
context.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
lib.rs refactor: replace module_config_derive with serde (#3786) 2022-03-26 10:42:19 +01:00
logger.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
main.rs build: bump clap from v3 to v4 (#4413) 2022-09-29 16:51:56 -05:00
module.rs feat: Add operating system module (#4109) 2022-11-06 22:37:58 +01:00
print.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
segment.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
serde_utils.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
utils.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00