Powerlevel9k / powerlevel9k

Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
https://github.com/romkatv/powerlevel10k
MIT License
13.46k stars 948 forks source link

Default segment color #1297

Closed saravntbe closed 5 years ago

saravntbe commented 5 years ago

how to change the default segment color (foreground and background) eg, vcs etc.,

romkatv commented 5 years ago

There is no default foreground and background color for vcs. You can specify vcs colors like this:

POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND=red
POWERLEVEL9K_VCS_CLEAN_FOREGROUND=blue

See https://github.com/bhilburn/powerlevel9k/wiki/Stylizing-Your-Prompt#segment-color-customization.

You can also enable light color theme: https://github.com/bhilburn/powerlevel9k/wiki/Stylizing-Your-Prompt#light-color-theme.

dritter commented 5 years ago

Closing this for now. @saravntbe feel free to reopen if there are questions left. Thx @romkatv for the quick reply.