starship/src
Benjamin Sherman 85d683daf2
fix(container): reduce docker, podman and systemd confusion (#4832)
* Fixes #3821 to provide an improved experience for display of container

Details:
- podman containerenv processing is now happens before systemd
- if systemd/container contains "docker", now shows "Docker"
- maintains fix from #4593 to prevent 'Systemd" display on WSL
- refactors tests for systemd detection

* only compile function for linux

* correct 'default' systemd test use use None, codecov caught this mistake

* refactor my change to systemd/container detection so that it has one stage instead of multiple
2023-01-22 23:36:42 +01:00
..
configs feat(config): Adds support for --profile <custom profile name> (#3467) 2023-01-11 21:25:36 -06:00
formatter chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
init chore: remove version check for unsupported nushell version (#4791) 2023-01-06 12:13:04 -06:00
modules fix(container): reduce docker, podman and systemd confusion (#4832) 2023-01-22 23:36:42 +01:00
test feat(logger): delete old logs & avoid more dup logs (#4348) 2023-01-04 09:22:02 +01:00
bug_report.rs chore: fix clippy warnings for rust 1.66 (#4715) 2022-12-17 18:01:27 +01:00
config.rs fix(config): unrecognized config properties don't cause config error (#4547) 2022-11-20 18:27:48 +01:00
configure.rs chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
context.rs feat(config): Adds support for --profile <custom profile name> (#3467) 2023-01-11 21:25:36 -06:00
lib.rs refactor: replace module_config_derive with serde (#3786) 2022-03-26 10:42:19 +01:00
logger.rs feat(logger): delete old logs & avoid more dup logs (#4348) 2023-01-04 09:22:02 +01:00
main.rs feat(config): Adds support for --profile <custom profile name> (#3467) 2023-01-11 21:25:36 -06:00
module.rs feat: add pijul_channel module (#4765) 2022-12-31 15:55:23 +01:00
print.rs feat(config): Adds support for --profile <custom profile name> (#3467) 2023-01-11 21:25:36 -06:00
segment.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
serde_utils.rs fix(config): unrecognized config properties don't cause config error (#4547) 2022-11-20 18:27:48 +01:00
utils.rs feat: add pijul_channel module (#4765) 2022-12-31 15:55:23 +01:00