From 4a97a34afc9cc0279496384f0f3988b8ea87288f Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Sat, 20 Apr 2024 16:09:09 +0200 Subject: [PATCH 1/2] make lcr faster --- other/config.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/config.nu b/other/config.nu index b73d09f..0f359b5 100644 --- a/other/config.nu +++ b/other/config.nu @@ -798,7 +798,7 @@ def lcr [ ] { ls **/* | where name ends-with $".($file_extension)" - | each {|file| + | par-each {|file| open $file.name | lines --skip-empty | length } From d1dee45d9c127558151482d975bf27cfe117cda1 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Sat, 20 Apr 2024 16:09:26 +0200 Subject: [PATCH 2/2] make rustdoc alias more practical --- modules/desktop/firefox.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/desktop/firefox.nix b/modules/desktop/firefox.nix index 4e68444..873627f 100644 --- a/modules/desktop/firefox.nix +++ b/modules/desktop/firefox.nix @@ -159,7 +159,7 @@ template = "https://docs.rs/{searchTerms}"; } ]; - definedAliases = ["docd"]; + definedAliases = ["doc"]; }; "rust std docs" = { urls = [