pay-respects/rules/mv.toml

14 lines
163 B
TOML
Raw Normal View History

2024-11-16 00:59:33 +01:00
command = "mv"
[[match_err]]
pattern = [
2024-11-21 15:23:07 +01:00
"no such file or directory",
"not a directory"
2024-11-16 00:59:33 +01:00
]
suggest = [
'''
2025-04-05 01:15:41 +02:00
mkdir --parents {{command[-1]}} &&
2024-11-16 00:59:33 +01:00
{{command}} '''
]