From 06dde596f2a75214514f3af325ff4da820dd98e7 Mon Sep 17 00:00:00 2001 From: EmilyGraceSeville7cf Date: Tue, 1 Oct 2024 05:59:43 +1000 Subject: [PATCH] fix(function): rename completion function --- share/completions/mmdc.fish | 2 +- ...ish_complete_extension.fish => __fish_print_extensions.fish} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename share/functions/{__fish_complete_extension.fish => __fish_print_extensions.fish} (88%) diff --git a/share/completions/mmdc.fish b/share/completions/mmdc.fish index ec4ca45f2..d94857514 100644 --- a/share/completions/mmdc.fish +++ b/share/completions/mmdc.fish @@ -19,7 +19,7 @@ complete -c $command -s h -l height -x \ complete -c $command -s i -l input -r -d 'Specify the input file of a chart' complete -c $command -s o -l output -r \ - -a '(__fish_complete_extension svg md png pdf)' \ + -a '(__fish_print_extensions svg md png pdf)' \ -d 'Specify the output file of a chart' complete -c $command -s e -l outputFormat -x \ diff --git a/share/functions/__fish_complete_extension.fish b/share/functions/__fish_print_extensions.fish similarity index 88% rename from share/functions/__fish_complete_extension.fish rename to share/functions/__fish_print_extensions.fish index 61d5c3dbb..2c1c20acc 100644 --- a/share/functions/__fish_complete_extension.fish +++ b/share/functions/__fish_print_extensions.fish @@ -1,4 +1,4 @@ -function __fish_complete_extension \ +function __fish_print_extensions \ --description 'Suggest provided extensions as $argv if the current token ends with a dot' set token (commandline -c -t)