Skip to content

Commit

Permalink
Allow zsh completion to be autoloaded by compinit
Browse files Browse the repository at this point in the history
  • Loading branch information
dustyrip authored and dlorenc committed Jul 18, 2018
1 parent 7a7bd45 commit 2dea4e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/minikube/cmd/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ func GenerateBashCompletion(w io.Writer, cmd *cobra.Command) error {

func GenerateZshCompletion(out io.Writer, cmd *cobra.Command) error {
zsh_initialization := `
#compdef minikube
__minikube_bash_source() {
alias shopt=':'
alias _expand=_bash_expand
Expand Down

0 comments on commit 2dea4e1

Please sign in to comment.