[completion] Add header #compdef (#1915)

This commit is contained in:
sazriel26
2024-09-13 09:43:26 -04:00
committed by GitHub
parent fa6a5c9c6a
commit 0ccdd74918
+2
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