Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to hide deleted by default #129

Open
zx8 opened this issue Nov 26, 2024 · 2 comments
Open

Ability to hide deleted by default #129

zx8 opened this issue Nov 26, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@zx8
Copy link

zx8 commented Nov 26, 2024

At the moment, whenever I run kubectl klock, I always immediately press d to hide deleted objects, and only show them if needed - 99% of the time I do not want to see the deleted objects.

It would be great if you could either flip the default to hide deleted objects (which I understand is a breaking change), or better yet introduce an environment variable that I can set in my shell startup script, along the lines of KUBECOLOR_HIDE_DELETED_DEFAULT=true.

Thanks for another awesome tool!

@applejag
Copy link
Owner

Hehe, that environment variable example beginning with KUBECOLOR amuses me :)

This is an excellent suggestion. Personally I'd prefer to see that as a flag, but why not both env var and flag.

@applejag applejag added enhancement New feature or request good first issue Good for newcomers labels Nov 26, 2024
@zx8
Copy link
Author

zx8 commented Nov 26, 2024

Hehe, that environment variable example beginning with KUBECOLOR amuses me :)

Haha, habit! Indeed, I meant KLOCK_* 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants