mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 05:53:59 +00:00
fix(completion): kroki subcommand descriptions
This commit is contained in:
parent
4e50ed4edb
commit
115db39786
1 changed files with 3 additions and 3 deletions
|
@ -5,9 +5,9 @@ complete -c $command -f
|
||||||
complete -c $command -s h -l help -d 'Show help'
|
complete -c $command -s h -l help -d 'Show help'
|
||||||
complete -c $command -s v -l version -d 'Show version'
|
complete -c $command -s v -l version -d 'Show version'
|
||||||
|
|
||||||
set -l subcommands_with_descriptions 'help\t"Select multiple values using checkboxes"' \
|
set -l subcommands_with_descriptions 'help\t"Show help"' \
|
||||||
'version\t"Pick a number in specific range"' \
|
'version\t"Show version"' \
|
||||||
'convert\t"Show a confirmation"'
|
'convert\t"Convert files"'
|
||||||
|
|
||||||
set -l subcommands (string replace --regex '\\\t.+' '' -- $subcommands_with_descriptions)
|
set -l subcommands (string replace --regex '\\\t.+' '' -- $subcommands_with_descriptions)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue