DEV Community

loading...

Discussion on: Custom colors in oh-my-zsh themes

Collapse
yujinyuz profile image
Yujin Author

Are you talking about the ones in ~/.gitconfig ? I think you could use It

Collapse
fgod1983 profile image
FGOD1983 • Edited

no I meant the theme colors used by oh-my-zsh when working on git stuff. but in the meantime I finally found the answers :) you can change that in the theme or in .zshrc with the following values (in my case of using powerlevel9k) and edit the color numbers(which are also using the spectrum color schemes):

POWERLEVEL9K_VCS_CLEAN_BACKGROUND=2
POWERLEVEL9K_VCS_MODIFIED_BACKGROUND=3
POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND=2
POWERLEVEL9K_VCS_CONFLICTED_BACKGROUND=3
POWERLEVEL9K_VCS_LOADING_BACKGROUND=8

Thread Thread
yujinyuz profile image
Yujin Author

That's awesome! Others might find this useful. Thanks for sharing that as well :)

Thread Thread
fgod1983 profile image
FGOD1983

no problem :)