pay-respects/rules/touch.toml

10 lines
174 B
TOML
Raw Normal View History

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