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

Add ability to specify background color #25

Closed
johanhaleby opened this issue Jan 19, 2018 · 3 comments
Closed

Add ability to specify background color #25

johanhaleby opened this issue Jan 19, 2018 · 3 comments

Comments

@johanhaleby
Copy link

I'd like to change the background color of prompt so it would be nice if this would be available as a configuration option. Currently I do like this to get it to work the way I want:

PROMPT=%{$bg[white]%}'$(kube_ps1)'$PROMPT
@jonmosco
Copy link
Owner

jonmosco commented Jan 24, 2018

Support added in 244ac9e for zsh (bash soon).

Please test and let me know if this works for you. You can set a background color with KUBE_PS1_BG_COLOR=<color>

@johanhaleby
Copy link
Author

Works great in zsh! Thanks for adding support it.

jonmosco added a commit that referenced this issue Feb 2, 2018
optimized in the future.  No latency introduced.  Fixes #31 and #25
@jonmosco
Copy link
Owner

jonmosco commented Feb 2, 2018

This works now for bash. Closing this issue.

@jonmosco jonmosco closed this as completed Feb 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants