mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
chore: move rules to root
This commit is contained in:
parent
79264e1a4e
commit
0c7277f910
18 changed files with 2 additions and 2 deletions
22
rules/rm.toml
Normal file
22
rules/rm.toml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
command = "rm"
|
||||
|
||||
[[match_err]]
|
||||
pattern = [
|
||||
"is a directory",
|
||||
"try --recursive"
|
||||
]
|
||||
suggest = [
|
||||
'''
|
||||
{{command}} --recursive '''
|
||||
]
|
||||
|
||||
[[match_err]]
|
||||
pattern = [
|
||||
"no such file or directory",
|
||||
"file(s) not found"
|
||||
]
|
||||
suggest = [
|
||||
'''
|
||||
{{command[0}} {{opt::(?:\s)(-[\w]+)}} {{typo[1:](file)}} '''
|
||||
]
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue