[completion] Add header #compdef (#1915)

This commit is contained in:
sazriel26 2024-09-13 16:43:26 +03:00 committed by GitHub
parent fa6a5c9c6a
commit 0ccdd74918
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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