Skip to content

kubectl resources completions don't work when using a namespace in the command.  #3929

Description

@jonwraymond

Discord username (optional)

No response

Describe the bug

When using the -n or --namespace option it list the namespace just fine for auto-completion of the namespace, however, it doesn't list namespaced nested resources such as pods when targeting a namespace in the kubectl command. If I swap context to the namespace it works fine for resources without the --namespace or -n flag.

To reproduce

kubectl get pods -n kube-system <doesn't auto-complete resources>

Expected behavior

No response

Screenshots

No response

Operating system

MacOS

Operating system and version

Ventura 13.2.1

Shell Version

zsh 5.8.1 (x86_64-apple-darwin22.0)

Current Warp version

v0.2023.11.28.08.02.stable_00

Regression

Yes, this bug started recently or with an X Warp version

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:completionsStandard shell completions, argument completions, and path completion.bugSomething isn't working.factory:wilsonready-to-implementThe issue is ready for implementation work.triagedIssue has received an initial automated triage pass.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions