mirror of
https://github.com/Cian-H/dotfiles.git
synced 2026-08-14 12:43:22 +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,16 @@
|
||||
def "manpages" [] {
|
||||
|
||||
^man -w
|
||||
| str trim
|
||||
| split row (char esep)
|
||||
| par-each { glob $'($in)/man?' }
|
||||
| flatten
|
||||
| par-each { ls $in | get name }
|
||||
| flatten
|
||||
| path basename
|
||||
| str replace ".gz" ""
|
||||
}
|
||||
|
||||
export extern "man" [
|
||||
...targets: string@"manpages"
|
||||
]
|
||||
Reference in New Issue
Block a user