fix(function): rename completion function

This commit is contained in:
EmilyGraceSeville7cf 2024-10-01 05:59:43 +10:00
parent 98dbe41309
commit 06dde596f2
2 changed files with 2 additions and 2 deletions

View file

@ -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 i -l input -r -d 'Specify the input file of a chart'
complete -c $command -s o -l output -r \ 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' -d 'Specify the output file of a chart'
complete -c $command -s e -l outputFormat -x \ complete -c $command -s e -l outputFormat -x \

View file

@ -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' --description 'Suggest provided extensions as $argv if the current token ends with a dot'
set token (commandline -c -t) set token (commandline -c -t)