mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-09 07:10:27 +00:00
14 lines
293 B
Fish
14 lines
293 B
Fish
|
function __fisher_complete -a parent child
|
||
|
if test ! -z "$child"
|
||
|
set child "__fish_seen_subcommand_from $child"
|
||
|
end
|
||
|
|
||
|
set -l IFS ';'
|
||
|
|
||
|
__fisher_help_parse | while read -l d l s
|
||
|
complete -c $parent -s "$s" -l "$l" -d "$d" -n "$child"
|
||
|
end
|
||
|
|
||
|
return 0
|
||
|
end
|