UX: Use arrow (or other clear demarcation) for which context is selected
Author: jahseng-leeCreated Aug 14, 2026Updated Aug 14, 2026
Context
kubectx currently uses highlighting to display what is selected. When running this in a non-colour supporting terminal, it is not possible to infer which context is selected.
$ kubectx
arn:aws:eks:us-east-1:<id>:cluster/staging-cluster
arn:aws:eks:us-east-1:<id>:cluster/production-clusterProposal
A simple arrow or other such demarcation/message would work.
$ kubectx
=> arn:aws:eks:us-east-1:<id>:cluster/staging-cluster
arn:aws:eks:us-east-1:<id>:cluster/production-cluster$ kubectx
arn:aws:eks:us-east-1:<id>:cluster/staging-cluster (current)
arn:aws:eks:us-east-1:<id>:cluster/production-clusterSource: ahmetb/kubectx