Fish completion is broken for option flags if/when leading options contain "special" shell characters. #1571
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened:
Type
kubectl
command and invoke [TAB] completion after the "-" prefix .What you expected to happen:
Expected to see completion options like the following:
Instead, kubectl fish completion reports an error:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
This issue is due to the BUG in https://github.com/spf13/cobra with pending fix in PR: spf13/cobra#2095
Environment:
kubectl version
):Client Version: v1.29.2
cat /etc/os-release
): Any/AllThe text was updated successfully, but these errors were encountered: