From db935e07e3a22264b1dac08edf106bd98086e5cd Mon Sep 17 00:00:00 2001 From: iff Date: Fri, 28 Mar 2025 15:10:31 +0100 Subject: [PATCH] rules(pacman): full system upgrade only when no argument specified --- rules/pacman.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rules/pacman.toml b/rules/pacman.toml index c1ea2a2..915111f 100644 --- a/rules/pacman.toml +++ b/rules/pacman.toml @@ -6,6 +6,10 @@ pattern = [ ] suggest = [ ''' -{{command}} -Syu''' +#[length(1)] +{{command}} -Syu''', +''' +#[min_length(2)] +{{command[0]}} -S {{command[1:]}}''', ]