mirror of
https://codeberg.org/iff/pay-respects.git
synced 2025-10-06 00:22:43 +02:00
25 lines
300 B
TOML
25 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''',
|
|
]
|