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

[Docs] STYLIZING.md #1265

Closed Syphdias closed 4 years ago

Syphdias commented 5 years ago

This aims to

This is is a work in progress, feel free to suggest how to tackle this

Problems that need to be tackled:

Syphdias commented 5 years ago

I think a lot of the general stuff could be replaced with a simple table. What do you thing, @dritter?

Option Default Effect
P9K_PROMPT_ON_NEWLINE false Display the prompt on the next line. Also checkout the sgement newline.
P9K_RPROMPT_ON_NEWLINE false Display RPROMPT on the same line as PROMPT if P9K_PROMPT_ON_NEWLINE=true
P9K_MULTILINE_FIRST_PROMPT_PREFIX_ICON ? If the prompt is more than one line, this will be the prefix for the first line.
P9K_MULTILINE_NEWLINE_PROMPT_PREFIX_ICON ? If the prompt is at least tree lines, this will be the prefix for all lines that are neither the first nor the last.
P9K_MULTILINE_LAST_PROMPT_PREFIX_ICON ? If the prompt is more than one line, this will be the prefix for the last line.
P9K_PROMPT_ADD_NEWLINE false Adds a newline before displaying the prompt
P9K_PROMPT_ADD_NEWLINE_COUNT 1 Change the amound of newlines added if P9K_PROMPT_ADD_NEWLINE=true.
P9K_DISABLE_RPROMPT false Disables RPROMPT.
P9K_COLOR_SCHEME unset Set to light to invert default background and foreground color.
P9K_{LEFT,RIGHT}_SEGMENT_SEPARATOR_ICON ? This is the separator between two segments of different color.
P9K_{LEFT,RIGHT}_SUBSEGMENT_SEPARATOR_ICON ? This is the separator between two segments of the same color.
P9K_WHITESPACE_BETWEEN_{LEFT,RIGHT}_SEGMENTS How much space there is between segment text and segment separator.
Syphdias commented 5 years ago

@onaforeignshore Thanks so much for the comments!

Syphdias commented 5 years ago

Oh, also: truecolor/24bit color #1262 - currently not merged...

dritter commented 4 years ago

Thx @Syphdias