Open
Description
As the title says the zsh completion shim doesn't work as expected or rather doesn't work at all in some cases.
The problem stems from the fact that dotnet-suggest on my system gives the following for dotnet-suggest list
dotnet-ef
dotnet ef
security-scan
dotnet-grpc-cli
dotnet grpc-cli
dotnet-suggest
dotnet suggest
dotnet-grpc
dotnet grpc
reportgenerator
So for all the dotnet prefixed global commands there is always the one with a space included as well. This leads to the situation where dotnet-suggest is registered as a completion provider for dotnet
.
Resulting in this issue:
_values:compvalues:11: not enough arguments
Because there is no completion returned by dotnet-suggest for dotnet
If I understand the issue correctly this stems from this line:
In general if there is no completion returned there shouldn't even be a _values object that is set as far as I understand.