Skip to content

Update shell completion scripts to use new 'dotnet completions' command. #51062

@tmds

Description

@tmds

.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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions