mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 14:30:10 +01:00
chore: rearrange directories
This commit is contained in:
parent
d5fb7462e0
commit
4c9aac45a8
46 changed files with 11 additions and 18 deletions
22
core/rules/rm.toml
Normal file
22
core/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