mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-24 22:18:43 +01:00
fix recursive line count command
This commit is contained in:
parent
c191adcc99
commit
1308d373ba
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue