10 lines
205 B
Bash
10 lines
205 B
Bash
# zsh parameter completion for the dotnet CLI
|
|
|
|
_dotnet_zsh_complete()
|
|
{
|
|
local completions=("$(dotnet complete "$words")")
|
|
|
|
reply=( "${(ps:\n:)completions}" )
|
|
}
|
|
|
|
compctl -K _dotnet_zsh_complete dotnet
|