Hi 馃憢,
this issue is related to #1349 and i think i am just missing how to connect the dots.
thanks in advance
David
Like in here:
https://github.com/Powerlevel9k/powerlevel9k/blob/v0.6.7/powerlevel9k.zsh-theme#L1638
Colors, Background and Foreground colors are somehow hardcoded. So that's why the question: is that an overkill for the theme to have so many customization variables? Makes that sense to have? Is there a better solution for this?
I have solved that for the virtualenv plugin by changing the line to:
"$1_prompt_segment" "$0" "$2" "$POWERLEVEL9K_VIRTUALENV_BG_COLOR" "$POWERLEVEL9K_VIRTUALENV_FG_COLOR" "${virtualenv_path:t}" 'PYTHON_ICON'
then in a configuration file i export all those variables for the theme to configure it.
I could make a pull request for that, with as much plugins as possible providing default values as it is now.
zsh --version to see this.zsh --version
zsh 5.7.1 (x86_64-apple-darwin19.0)
Oh-My-ZSH
cloned into: ~/.oh-my-zsh/custom/themes/powerlevel9k
c4a8118 (tag: v0.6.7)
iTerm
Try this:
POWERLEVEL9K_VIRTUALENV_FOREGROUND=red
POWERLEVEL9K_VIRTUALENV_BACKGROUND=yellow
Perfect!! Thanks for your help!!
You are welcome.
Most helpful comment
Try this: