mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 22:40:09 +01:00
rules: add touch; update formats
This commit is contained in:
parent
2f3ba438ea
commit
e214cf24ba
8 changed files with 26 additions and 30 deletions
9
rules/touch.toml
Normal file
9
rules/touch.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
command = "touch"
|
||||
|
||||
[[match_err]]
|
||||
pattern = [ "No such file or directory" ]
|
||||
suggest = [
|
||||
'''
|
||||
mkdir --parents {{cmd::(?:\s)+(.*[\\\/])(?:\s)*}}
|
||||
touch {{command[1:]}} '''
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue