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;