Skip to content

Commit

Permalink
[completion] Add header #compdef
Browse files Browse the repository at this point in the history
  • Loading branch information
sazriel26 committed Aug 11, 2024
1 parent 51d6140 commit 3a43db2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ in order to generate ZSH completion support.
*/
func runCompletionZsh(out io.Writer, kompose *cobra.Command) error {
zshInitialization := `
#compdef kompose
__kompose_bash_source() {
alias shopt=':'
alias _expand=_bash_expand
Expand Down

0 comments on commit 3a43db2

Please sign in to comment.