From 5c1cf2cbcb31537c36b3d0e257880671a92e2b62 Mon Sep 17 00:00:00 2001 From: romkatv Date: Sun, 1 Mar 2020 14:01:53 +0100 Subject: [PATCH] add instructions for installation and update with homebrew; see #539 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 824fe38c..dec822ab 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ Ready to give Powerlevel10k a try? - [Zgen](#zgen) - [Zplugin](#zplugin) - [Zinit](#zinit) + - [Homebrew](#homebrew) 1. Restart Zsh. 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 supported by Powerlevel10k. +### Homebrew + +Run `brew install romkatv/powerlevel10k/powerlevel10k` and add +`source /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme` to `~/.zshrc`. + ## Configuration ### For new users @@ -551,6 +557,7 @@ The command to update Powerlevel10k depends on how it was installed. | [Zgen](#zgen) | `zgen update` | | [Zplugin](#zplugin) | `zplugin update` | | [Zinit](#zinit) | `zinit update` | +| [Homebrew](#homebrew) | `brew update && brew upgrade` | **IMPORTANT**: Restart Zsh after updating Powerlevel10k. [Do not use `source ~/.zshrc`]( #weird-things-happen-after-typing-source-zshrc).