dotnet-installer/scripts/register-completions.zsh

11 lines
205 B
Bash
Raw Normal View History

2017-03-06 12:08:26 -08:00
# zsh parameter completion for the dotnet CLI
2017-03-02 19:36:51 -08:00
_dotnet_zsh_complete()
{
2017-03-06 12:08:26 -08:00
local completions=("$(dotnet complete "$words")")
2017-03-02 19:36:51 -08:00
reply=( "${(ps:\n:)completions}" )
}
2018-05-01 11:41:54 +02:00
compctl -K _dotnet_zsh_complete dotnet