mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
feat: fuzzy search not found commands
This commit is contained in:
parent
86ae6a6fb4
commit
135abc75b6
5 changed files with 177 additions and 27 deletions
10
rules/no_command.toml
Normal file
10
rules/no_command.toml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
command = "no_command"
|
||||
|
||||
[[match_err]]
|
||||
pattern = [
|
||||
"command not found"
|
||||
]
|
||||
suggest = [
|
||||
'''
|
||||
{{typo[0](path)}} {{command[1:]}}'''
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue