Changed . token to _dot

This change allows the dotfiles to work with chezmoi (e.g: on windows)
and improves grepability with neovim/telescope
This commit is contained in:
2024-11-07 13:52:17 +00:00
parent 83b02bd753
commit 896af887ca
2351 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# With Externals
This folder includes various nushell scripts that require installing an external program in order to work.
### Contributing
Please include the name of the program and, if possible, basic installation instructions, as part of your script.

View File

@@ -0,0 +1,14 @@
# This script requires that `tokei` be installed and available!
# Count lines of code in a project.
export def main [
...rest # args to pass to tokei
] {
tokei -o json ...$rest |
from json |
transpose |
rename lang lines |
insert files { get lines.reports | length } |
select lang files lines.code lines.comments lines.blanks
}