.NET 10 is introducing a new tab-completion shell integration: https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-10/sdk#native-shell-tab-completion-scripts
This repo has some scripts to setup the completion for different shells: https://github.com/dotnet/sdk/tree/main/scripts
In Fedora/RHEL rpms, these scripts are installed so that shells pick them up. For example, the register-completions.bash gets placed at /usr/share/bash-completion/completions/dotnet.
Probably the scripts should be updated to use dotnet completions instead of dotnet complete.
cc @baronfel @omajid