mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
15 lines
259 B
TOML
15 lines
259 B
TOML
|
|
command = "cd"
|
||
|
|
|
||
|
|
[[match_err]]
|
||
|
|
pattern = [
|
||
|
|
"no such file or directory"
|
||
|
|
]
|
||
|
|
# as rust runs on its own environment, it's not possible to change
|
||
|
|
# the directory automatically
|
||
|
|
suggest = [
|
||
|
|
'''
|
||
|
|
#[err_contains(no such file or directory)]
|
||
|
|
mkdir -p {{command[1]}}
|
||
|
|
'''
|
||
|
|
]
|