Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>The ZSH documentation is very good. Learn to use the <code>man</code> pages: specifically, <a href="http://www.manpagez.com/man/1/zshmisc/" rel="noreferrer"><code>man zshmisc</code></a>. You want the section on <code>SIMPLE PROMPT ESCAPES</code>:</p> <blockquote> <p>%F (%f)<br> Start (stop) using a different foreground colour, if supported by the terminal. The colour may be specified two ways: either as a numeric argument, as normal, or by a sequence in braces following the %F, for example %F{red}. In the latter case the values allowed are as described for the fg zle_highlight attribute; see Character Highlighting in zshzle(1). This means that numeric colours are allowed in the second format also.</p> <p>%K (%k)<br> Start (stop) using a different bacKground colour. The syntax is identical to that for %F and %f.</p> </blockquote> <p>You've asked: </p> <blockquote> <p>Do you have any documentation about how to custom oh my zsh theme ?</p> </blockquote> <p>There are lots of example themes bundled with oh-my-zsh. Look in the <code>themes</code> directory. Look at the <a href="https://github.com/robbyrussell/oh-my-zsh/network" rel="noreferrer">forks on <code>github</code></a>. Read <a href="https://stackoverflow.com/questions/14056007/oh-my-zsh-themes-dont-show-properly-background-stays-white/14150303#14150303">related zsh questions</a>, or <a href="https://stackoverflow.com/questions/689765/how-can-i-change-the-color-of-my-prompt-in-zsh-different-from-normal-text">this one</a>, or <a href="https://stackoverflow.com/questions/13869575/how-can-i-define-custom-colors-for-use-in-zsh-prompt">this one</a>. </p> <p>For my prompt, I borrowed a lot from <a href="http://aperiodic.net/phil/prompt/" rel="noreferrer">this</a>. </p> <p>And, as always, read the man pages, or <a href="http://zsh.sourceforge.net/Doc/Release/zsh.html#Top" rel="noreferrer">the zsh users guide</a>. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload