fish-shell/share/functions/__fish_complete_external_command.fish
Johannes Altmanninger d7ccc475cf Cleanup __fish_complete_subcommand
The external-commands-only completion was briefly added in 3.1.0 and removed
in 3.1.1 (see #6798), which means we can remove some dead code.

Maybe we should just remove __fish_complete_external_command - it could break
users, but then again, we don't really have a way to stop people from starting
to use this deprecated function. The underscores ought to communicate that
this is function is private to fish but that is not enforced.
2020-08-06 21:24:26 +02:00

5 lines
142 B
Fish

# TODO: This function is deprecated, figure out a way to tell users.
function __fish_complete_external_command
complete -C "$argv[1]"
end