pay-respects/core/rules/mv.toml

14 lines
165 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 = [
'''
mkdir --parents {{command[-1]}} && \
{{command}} '''
]