fix recursive line count command

This commit is contained in:
Schrottkatze 2023-11-14 12:39:46 +01:00
parent c191adcc99
commit 1308d373ba

View file

@ -793,7 +793,7 @@ def nsp [
def lcr [ def lcr [
file_extension: string 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; alias gnix = cd ~/nix-configs;