1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-26 11:42:36 +00:00
starship/src
Samir Talwar 041a518353
chore(nu): use updated closure syntax (#5054)
Update starship.nu to conform to Nushell changes

Nushell recently made a change to require that all closures have an explicit parameter list, even if it's empty, in https://github.com/nushell/nushell/pull/8290.

This updates starship.nu to conform to this requirement.

I have casually tested this against both the latest released version of Nushell, and the latest version on HEAD; the changed code works well (for me) on both.
2023-04-05 07:53:06 +02:00
..
configs feat(custom): add option to check if pwd is in a repo (#4822) 2023-04-02 16:39:45 +02:00
formatter chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
init chore(nu): use updated closure syntax (#5054) 2023-04-05 07:53:06 +02:00
modules feat(custom): add option to check if pwd is in a repo (#4822) 2023-04-02 16:39:45 +02:00
test feat(fossil): detection of Fossil check-outs in subdirectories (#4910) 2023-04-02 16:37:27 +02:00
bug_report.rs chore: fix clippy warnings for rust 1.66 (#4715) 2022-12-17 18:01:27 +01:00
config.rs build(deps): update toml crates (#4853) 2023-01-30 23:12:27 +01:00
configure.rs chore: add spell checker to workflows (#4975) 2023-03-22 13:42:46 -05:00
context.rs feat(fossil): detection of Fossil check-outs in subdirectories (#4910) 2023-04-02 16:37:27 +02:00
lib.rs refactor: replace module_config_derive with serde (#3786) 2022-03-26 10:42:19 +01:00
logger.rs chore: fix clippy warnings for rust 1.67 (#4855) 2023-01-27 18:33:24 +09:00
main.rs fix(preset): add output-flag to avoid encoding issues (#4926) 2023-03-03 11:46:16 +01:00
module.rs feat(fossil_branch): add fossil_branch module (#4806) 2023-01-31 09:06:46 +01:00
print.rs fix(preset): add output-flag to avoid encoding issues (#4926) 2023-03-03 11:46:16 +01:00
segment.rs refactor: replace ansi_term with nu_ansi_term (#4339) 2022-09-04 18:44:54 +02:00
serde_utils.rs build(deps): update toml crates (#4853) 2023-01-30 23:12:27 +01:00
utils.rs feat(fossil): detection of Fossil check-outs in subdirectories (#4910) 2023-04-02 16:37:27 +02:00