From ecdf036c870fdfa8e7087ef02ffd55622825c064 Mon Sep 17 00:00:00 2001 From: Postmodern Date: Mon, 29 Apr 2024 01:20:29 -0700 Subject: [PATCH] DRY update the custom completion rules. * Requires `command_kit-completion` >= 0.2.1. --- data/completions/ronin-repos.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/data/completions/ronin-repos.yml b/data/completions/ronin-repos.yml index f13c7da..66ec44d 100644 --- a/data/completions/ronin-repos.yml +++ b/data/completions/ronin-repos.yml @@ -1,13 +1,10 @@ --- -ronin-repos remove: +ronin-repos remove: &remove - $(ronin-repos list) -ronin-repos rm: +ronin-repos rm: *remove +ronin-repos show: &show - $(ronin-repos list) -ronin-repos show: - - $(ronin-repos list) -ronin-repos info: - - $(ronin-repos list) -ronin-repos update: - - $(ronin-repos list) -ronin-repos up: +ronin-repos info: *show +ronin-repos update: &update - $(ronin-repos list) +ronin-repos up: *update