From bc52198b5ec7ba20425c8eac251565ab66d01350 Mon Sep 17 00:00:00 2001 From: EmilySeville7cfg Date: Mon, 24 Jan 2022 15:36:58 +1000 Subject: [PATCH] Simplify choice completion --- share/completions/choice.fish | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/share/completions/choice.fish b/share/completions/choice.fish index fe2b90a06..94e8578ec 100644 --- a/share/completions/choice.fish +++ b/share/completions/choice.fish @@ -1,7 +1,7 @@ -complete --command choice --no-files --arguments '/c\t"Specify the list of choices to be created" -/n\t"Hide the list of choices" -/cs\t"Specify that the choices are case-sensitive" -/t\t"Specify the number of seconds" -/d\t"Specify the default choice" -/m\t"Specify a message" -/?\t"Show help"' +complete --command choice --no-files --arguments '/c' --description "Specify the list of choices to be created" +complete --command choice --no-files --arguments '/n' --description "Hide the list of choices" +complete --command choice --no-files --arguments '/cs' --description "Specify that the choices are case-sensitive" +complete --command choice --no-files --arguments '/t' --description "Specify the number of seconds" +complete --command choice --no-files --arguments '/d' --description "Specify the default choice" +complete --command choice --no-files --arguments '/m' --description "Specify a message" +complete --command choice --no-files --arguments '/?' --description "Show help"