You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fisher/functions/__fisher_complete.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