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

Idea: make the namespace part blink for configured values #54

Closed
jack4it opened this issue Jun 5, 2018 · 2 comments
Closed

Idea: make the namespace part blink for configured values #54

jack4it opened this issue Jun 5, 2018 · 2 comments
Labels

Comments

@jack4it
Copy link

jack4it commented Jun 5, 2018

E.g. prod, production, etc.

Thoughts? If idea accepted, I can send a PR. 😇

@jonmosco
Copy link
Owner

jonmosco commented Jun 6, 2018

Blink, as in <blink>prod</blink>, or did you mean blank?
If the former, I would rather not do text effects for the prompt. If you want to enable this for your specific use case, you could always override the default vars for prompt:
_KUBE_PS1_DEFAULT_BG=$'\033[5m

Hope this helps.

@jack4it
Copy link
Author

jack4it commented Jun 6, 2018

I meant blinking effect, for only the namespace part if the value is some configured values like prod or production. Or if we can provide a hook like #47 to customize the value used for the context or namespace. It would be great too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants