mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
24 lines
300 B
TOML
24 lines
300 B
TOML
command = "pacman"
|
|
|
|
[[match_err]]
|
|
pattern = [
|
|
"no operation specified"
|
|
]
|
|
suggest = [
|
|
'''
|
|
#[length(1)]
|
|
{{command}} -Syu''',
|
|
'''
|
|
#[min_length(2)]
|
|
{{command[0]}} -S {{command[1:]}}''',
|
|
]
|
|
|
|
[[match_err]]
|
|
pattern = [
|
|
"no targets specified"
|
|
]
|
|
suggest = [
|
|
'''
|
|
#[cmd_contains(-S)]
|
|
{{command[0]}} -Syu''',
|
|
]
|