We was succeed to make the bash completion working through:
- in the rules files:
install src/sdk.*/scripts/register-completions.bash $(DESTDIR)/$(DATADIR)/bash-completion/completions/dotnet
- in the bash-completion file, and using with --bash-completion
but doing through update-alternatives is not working.