mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-13 06:50:09 +01:00
feat: match file
This commit is contained in:
parent
5858b5b88b
commit
7cfe075da6
5 changed files with 94 additions and 25 deletions
8
rules/rm.toml
Normal file
8
rules/rm.toml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
command = "rm"
|
||||
|
||||
[[match_err]]
|
||||
pattern = [ "no such file or directory", ]
|
||||
suggest = [
|
||||
'''
|
||||
{{command[:-2]}} {{typo[-1](file)}}'''
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue