mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 16:51:57 +08:00
d7ccc475cf
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.
3 lines
105 B
Fish
3 lines
105 B
Fish
complete -c if -s h -l help -d 'Display help and exit'
|
|
complete -c if -xa '(__fish_complete_subcommand)'
|