mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-27 06:31:19 -03:00
Fixes #10980. This would, if a commandline was given, still revert to checking the *real* commandline if it was empty. Unfortunately, in those cases, it could have found a command and tried to complete it. If a commandline is given, that is what needs to be completed. (note this means this is basically useless in completions that use it like `sudo` and could just be replaced with `complete -C"$commandline"`)