mirror of
https://codeberg.org/iff/pay-respects.git
synced 2025-10-06 00:22:43 +02:00
23 lines
298 B
TOML
23 lines
298 B
TOML
command = "rm"
|
|
|
|
[[match_err]]
|
|
pattern = [
|
|
"is a directory",
|
|
"try --recursive"
|
|
]
|
|
suggest = [
|
|
'''
|
|
{{command[0]}} -r {{command[1:]}} '''
|
|
]
|
|
|
|
[[match_err]]
|
|
pattern = [
|
|
"no such file or directory",
|
|
"file(s) not found"
|
|
]
|
|
suggest = [
|
|
'''
|
|
{{command[0}} {{opt::(?:\s)(-[\w]+)}} {{typo[1:](file)}} '''
|
|
]
|
|
|