Merge branch 'master' into reactive

pull/436/head
romkatv 5 years ago
commit 856baeb610

@ -14,6 +14,7 @@ it will generate the same prompt.
1. [Manual](#manual)
1. [Oh My Zsh](#oh-my-zsh)
1. [Prezto](#prezto)
1. [Zim](#zim)
1. [Antigen](#antigen)
1. [Zplug](#zplug)
1. [Zgen](#zgen)
@ -40,6 +41,7 @@ it will generate the same prompt.
1. [What do different symbols in Git status mean?](#what-do-different-symbols-in-git-status-mean)
1. [How do I change the format of Git status?](#how-do-i-change-the-format-of-git-status)
1. [How do I add username and/or hostname to prompt?](#how-do-i-add-username-andor-hostname-to-prompt)
1. [How do I change colors?](#how-do-i-change-colors)
1. [Why does Powerlevel10k spawn extra processes?](#why-does-powerlevel10k-spawn-extra-processes)
1. [Are there configuration options that make Powerlevel10k slow?](#are-there-configuration-options-that-make-powerlevel10k-slow)
1. [Is Powerlevel10k fast to load?](#is-powerlevel10k-fast-to-load)
@ -73,6 +75,10 @@ Set `ZSH_THEME=powerlevel10k/powerlevel10k` in your `~/.zshrc`.
Add `zstyle :prezto:module:prompt theme powerlevel10k` to your `~/.zpreztorc`.
### Zim
Add `zmodule romkatv/powerlevel10k` to your `.zimrc` and run `zimfw install`.
### Antigen
Add `antigen theme romkatv/powerlevel10k` to your `~/.zshrc`. Make sure you have `antigen apply`
@ -479,6 +485,19 @@ adjusting the values of parameters nearby. There are plenty of comments to help
Finally, you can move `context` segment to where you want it to be in your prompt. Perhaps somewhere
within `POWERLEVEL9K_LEFT_PROMPT_ELEMENTS`.
### How do I change colors?
Open `~/.p10k.zsh`, search for "color", "foreground" and "background" and change values of
appropriate parameters. Colors are specified using numbers from 0 to 255. Colors from 0 to 15 look
differently in different terminals. Many terminals also support customization of these colors
through color schemes or themes. Colors from 16 to 255 always look the same.
To see how different colors look in your terminal, run the following command:
```zsh
for i in {0..255}; do print -Pn "%${i}F${(l:3::0:)i}%f " ${${(M)$((i%8)):#7}:+$'\n'}; done
```
### Why does Powerlevel10k spawn extra processes?
Powerlevel10k uses [gitstatus](https://github.com/romkatv/gitstatus) as the backend behind `vcs`

Loading…
Cancel
Save