diff --git a/other/config.nu b/other/config.nu index 5589fc9..4d36d1d 100644 --- a/other/config.nu +++ b/other/config.nu @@ -790,7 +790,8 @@ def nsp [ def lcr [ file_extension: string ] { - ls $"**/*.($file_extension)" + ls **/* + | where name ends-with $".($file_extension)" | each {|file| open $file.name | lines --skip-empty