add instructions for installation and update with homebrew; see #539

pull/546/head
romkatv 5 years ago
parent 04d19d031a
commit 5c1cf2cbcb

@ -26,6 +26,7 @@ Ready to give Powerlevel10k a try?
- [Zgen](#zgen) - [Zgen](#zgen)
- [Zplugin](#zplugin) - [Zplugin](#zplugin)
- [Zinit](#zinit) - [Zinit](#zinit)
- [Homebrew](#homebrew)
1. Restart Zsh. 1. Restart Zsh.
1. Type `p10k configure` if the configuration wizard doesn't start automatically. 1. Type `p10k configure` if the configuration wizard doesn't start automatically.
@ -389,6 +390,11 @@ Add `zinit ice depth=1; zinit light romkatv/powerlevel10k` to `~/.zshrc`.
The use of `depth=1` ice is optional. Other types of ice are neither recommended nor officially The use of `depth=1` ice is optional. Other types of ice are neither recommended nor officially
supported by Powerlevel10k. supported by Powerlevel10k.
### Homebrew
Run `brew install romkatv/powerlevel10k/powerlevel10k` and add
`source /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme` to `~/.zshrc`.
## Configuration ## Configuration
### For new users ### For new users
@ -551,6 +557,7 @@ The command to update Powerlevel10k depends on how it was installed.
| [Zgen](#zgen) | `zgen update` | | [Zgen](#zgen) | `zgen update` |
| [Zplugin](#zplugin) | `zplugin update` | | [Zplugin](#zplugin) | `zplugin update` |
| [Zinit](#zinit) | `zinit update` | | [Zinit](#zinit) | `zinit update` |
| [Homebrew](#homebrew) | `brew update && brew upgrade` |
**IMPORTANT**: Restart Zsh after updating Powerlevel10k. [Do not use `source ~/.zshrc`]( **IMPORTANT**: Restart Zsh after updating Powerlevel10k. [Do not use `source ~/.zshrc`](
#weird-things-happen-after-typing-source-zshrc). #weird-things-happen-after-typing-source-zshrc).

Loading…
Cancel
Save