mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 22:40:09 +01:00
17 lines
313 B
TOML
17 lines
313 B
TOML
command = "touch"
|
|
|
|
[[match_err]]
|
|
pattern = [ "cannot touch" ]
|
|
suggest = [
|
|
'''
|
|
mkdir --parents {{cmd::(?:\s)+(.*[\\\/])(?:\s)*}} && \
|
|
touch {{command[1:]}} '''
|
|
]
|
|
|
|
[[match_err]]
|
|
pattern = [ "nu::shell::create_not_possible" ]
|
|
suggest = [
|
|
'''
|
|
mkdir {{cmd::(?:\s)+(.*[\\\/])(?:\s)*}} and \
|
|
touch {{command[1:]}} '''
|
|
]
|