dotfiles/zsh/.local/share/oh-my-zsh/plugins/kn/kn.plugin.zsh

8 lines
182 B
Bash

# Autocompletion for kn, the command line interface for knative
#
# Author: https://github.com/btannous
if [ $commands[kn] ]; then
source <(kn completion zsh)
compdef _kn kn
fi