Open ghost opened 5 years ago
Did you change the settings before you source the prompt or after? All settings need to be done before sourcing
The context
segment is a stateful one. So just setting POWERLEVEL9K_CONTEXT_BACKGROUND=red
won't work. You have to define for which status you want to change the color. See our documentation for how to customize stateful segments.
Did you change the settings before you source the prompt or after? All settings need to be done before sourcing
not sure what you meant but I tried:
The
context
segment is a stateful one. So just settingPOWERLEVEL9K_CONTEXT_BACKGROUND=red
won't work. You have to define for which status you want to change the color. See our documentation for how to customize stateful segments.
I never needed to use states when I tried on OSX High Sierra+Homebrew. I'll try your suggestion. Thanks
edit1: Correction to what I said above. I was using the DEFAULT state for context and instead of showing darkorange, it's using yellow.
POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND="darkorange" POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND="black" POWERLEVEL9K_CONTEXT_TEMPLATE="%n"
So I have Installed Ubuntu on my Windows 10 PC using WSL. I also have installed ZSH version 5.4.2 via apt. I also have successfully installed O-M-Z and powerlevel9k using their recommended install procedures.
It's working well EXCEPT that no matter what I do, the foreground/background colors seems to be limited/stuck.
Any ideas what I could be doing wrong?
Thanks