pay-respects/rules/touch.toml
2023-08-07 18:35:07 +02:00

9 lines
169 B
TOML

command = "touch"
[[match_err]]
pattern = [ "No such file or directory" ]
suggest = [
'''
mkdir --parents {{cmd::(?:\s)+(.*[\\\/])(?:\s)*}}
touch {{command[1:]}} '''
]