mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-19 05:13:44 +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
111 B
Fish
3 lines
111 B
Fish
complete -c while -s h -l help -d 'Display help and exit'
|
|
complete -c while -xa '(__fish_complete_subcommand)'
|