// ZSH-DOTNET-COMPLETION — TAB COMPLETION FOR THE dotnet CLI

zsh plugin · completion for the dotnet CLI

GitHub Issues
// Color scheme

>_ZSH-DOTNET-COMPLETION

dotnet, completed. Tab completion for the dotnet command-line tool. Source the plugin, restart zsh, hit TAB after dotnet.

Install

# Zinit
zinit ice lucid nocompile
zinit load MenkeTechnologies/zsh-dotnet-completion

# Oh My Zsh
git clone https://github.com/MenkeTechnologies/zsh-dotnet-completion \
    "$HOME/.oh-my-zsh/custom/plugins/zsh-dotnet-completion"
# then: plugins+=(zsh-dotnet-completion)

# Manual
git clone https://github.com/MenkeTechnologies/zsh-dotnet-completion
source zsh-dotnet-completion/zsh-dotnet-completion.plugin.zsh

Examples

dotnet <TAB>           # subcommand completion: new, build, run, test, restore, ...
dotnet new <TAB>       # template completion
dotnet add <TAB>       # package completion
dotnet build -c <TAB>  # configuration completion

Sibling plugins

Part of the MenkeTechnologies zsh plugin family — the MenkeTechnologiesMeta umbrella: