2023-07-31 23:42:19 +02:00
|
|
|
command = "rm"
|
|
|
|
|
|
|
|
|
|
[[match_err]]
|
2023-08-12 23:35:00 +02:00
|
|
|
pattern = [
|
|
|
|
|
"is a directory",
|
|
|
|
|
"try --recursive"
|
|
|
|
|
]
|
2023-07-31 23:42:19 +02:00
|
|
|
suggest = [
|
2023-08-04 02:42:16 +02:00
|
|
|
'''
|
2023-08-07 18:35:07 +02:00
|
|
|
{{command}} --recursive '''
|
2023-07-31 23:42:19 +02:00
|
|
|
]
|
2023-08-01 00:12:55 +02:00
|
|
|
|
|
|
|
|
[[match_err]]
|
2023-08-12 23:35:00 +02:00
|
|
|
pattern = [
|
|
|
|
|
"no such file or directory",
|
|
|
|
|
"file(s) not found"
|
|
|
|
|
]
|
2023-08-01 00:12:55 +02:00
|
|
|
suggest = [
|
2023-08-04 02:42:16 +02:00
|
|
|
'''
|
2024-11-20 22:23:42 +01:00
|
|
|
{{command[0}} {{opt::(?:\s)(-[\w]+)}} {{typo[1:](file)}} '''
|
2023-08-01 00:12:55 +02:00
|
|
|
]
|
2023-08-01 17:57:36 +02:00
|
|
|
|