mirror of
https://github.com/Cian-H/dotfiles.git
synced 2026-04-30 03:41:43 +01:00
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:
@@ -0,0 +1,18 @@
|
||||
export def main [] {
|
||||
let builtin = (scope commands | where type == "built-in" | length)
|
||||
let external = (scope commands | where type == "external" | length)
|
||||
let custom = (scope commands | where type == "custom" | length)
|
||||
let keyword = (scope commands | where type == "keyword" | length)
|
||||
let plugin = (scope commands | where type == "plugin" | length)
|
||||
let total = (scope commands | length)
|
||||
|
||||
[
|
||||
[command_type count];
|
||||
[builtin $builtin]
|
||||
[external $external]
|
||||
[custom $custom]
|
||||
[keyword $keyword]
|
||||
[plugin $plugin]
|
||||
[total_cmds $total]
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user