mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
rules: add touch; update formats
This commit is contained in:
parent
2f3ba438ea
commit
e214cf24ba
8 changed files with 26 additions and 30 deletions
|
|
@ -1,18 +1,16 @@
|
|||
command = "rm"
|
||||
|
||||
[[match_err]]
|
||||
pattern = [ "is a directory", ]
|
||||
pattern = [ "is a directory" ]
|
||||
suggest = [
|
||||
'''
|
||||
{{command}} --recursive
|
||||
'''
|
||||
{{command}} --recursive '''
|
||||
]
|
||||
|
||||
[[match_err]]
|
||||
pattern = [ "no such file or directory", ]
|
||||
pattern = [ "no such file or directory" ]
|
||||
suggest = [
|
||||
'''
|
||||
{{command[0}} {{opt::(?:\s)-[\w]+}} {{typo[-1](file)}}
|
||||
'''
|
||||
{{command[0}} {{opt::(?:\s)-[\w]+}} {{typo[-1](file)}} '''
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue