mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
fix(function): rename completion function
This commit is contained in:
parent
98dbe41309
commit
06dde596f2
2 changed files with 2 additions and 2 deletions
|
@ -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 \
|
||||||
|
|
|
@ -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)
|
Loading…
Reference in a new issue