mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2026-02-01 23:25:11 +01:00
fix: negative index
This commit is contained in:
parent
7b9cecfd8d
commit
ff7f27f250
3 changed files with 18 additions and 6 deletions
12
rules/mv.toml
Normal file
12
rules/mv.toml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
command = "mv"
|
||||
|
||||
[[match_err]]
|
||||
pattern = [
|
||||
"no such file or directory"
|
||||
]
|
||||
suggest = [
|
||||
'''
|
||||
mkdir --parents {{command[-1]}} && \
|
||||
{{command}} '''
|
||||
]
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue