[completion] Add header #compdef (#1915)

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