From 1308d373ba958860ad581b4b6e721e97da20efea Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Tue, 14 Nov 2023 12:39:46 +0100 Subject: [PATCH] fix recursive line count command --- other/config.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/config.nu b/other/config.nu index 46b4f6f..50a1e1c 100644 --- a/other/config.nu +++ b/other/config.nu @@ -793,7 +793,7 @@ def nsp [ def lcr [ file_extension: string ] { - ls **/*.$file_extension | each {|file| open $file.name | lines --skip-empty | length} | math sum + ls $"**/*.($file_extension)" | each {|file| open $file.name | lines --skip-empty | length} | math sum } alias gnix = cd ~/nix-configs;