2023-08-07 18:35:07 +02:00
|
|
|
command = "touch"
|
|
|
|
|
|
|
|
|
|
[[match_err]]
|
|
|
|
|
pattern = [ "No such file or directory" ]
|
|
|
|
|
suggest = [
|
|
|
|
|
'''
|
2023-08-11 15:29:10 +02:00
|
|
|
mkdir --parents {{cmd::(?:\s)+(.*[\\\/])(?:\s)*}} && \
|
2023-08-07 18:35:07 +02:00
|
|
|
touch {{command[1:]}} '''
|
|
|
|
|
]
|