From 1c00ad5aeac82bd7d6538737d18e356afcc7bf11 Mon Sep 17 00:00:00 2001 From: EmilyGraceSeville7cf Date: Wed, 16 Oct 2024 05:32:56 +1000 Subject: [PATCH] feat(completion) support batsh command --- share/completions/batsh.fish | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 share/completions/batsh.fish diff --git a/share/completions/batsh.fish b/share/completions/batsh.fish new file mode 100644 index 000000000..b3aefe661 --- /dev/null +++ b/share/completions/batsh.fish @@ -0,0 +1,12 @@ +set -l command batsh + +complete -c $command -f + +complete -c $command -s h -l help \ + -a 'pager\tdefault plain groff' \ + -d 'Show help' + +complete -c $command -s v -l version -d 'Show version' + +complete -c $command \ + -a 'bash\t"Compile to Bash" batsh\t"Format file" winbat\t"Compile to Batch"'