Ville Skyttä 2023-12-20 09:33:51 +02:00
parent aaef27147f
commit a69c1b5230

View File

@ -47,7 +47,7 @@ $ yq shell-completion fish > ~/.config/fish/completions/yq.fish
var err error = nil var err error = nil
switch args[0] { switch args[0] {
case "bash": case "bash":
err = cmd.Root().GenBashCompletion(os.Stdout) err = cmd.Root().GenBashCompletionV2(os.Stdout, true)
case "zsh": case "zsh":
err = cmd.Root().GenZshCompletion(os.Stdout) err = cmd.Root().GenZshCompletion(os.Stdout)
case "fish": case "fish":