SIGN IN SIGN UP
spf13 / cobra UNCLAIMED

A Commander for modern Go CLI interactions

0 0 139 Go

Allow sourcing zsh completion script (#1917)

Although it is not the recommended approach, sourcing a completion
script is the simplest way to get people to try using shell completion.
Not allowing it for zsh has turned out to complicate shell completion
adoption.  Further, many tools modify the zsh script to allow sourcing.

This commit allows sourcing of the zsh completion script.

Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com>
M
Marc Khouzam committed
45360a55ccccf909b35f4290242bfb8a6bfbef66
Parent: c8a20a1
Committed by GitHub <noreply@github.com> on 3/22/2023, 10:41:05 PM