add install and update instructions for arch linux

pull/829/head
Roman Perepelitsa 5 years ago
parent 50dec9f9f5
commit 04656da7c1

@ -426,10 +426,10 @@ echo 'source /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc
### Arch Linux ### Arch Linux
There is [zsh-theme-powerlevel10k]( ```zsh
https://www.archlinux.org/packages/community/any/zsh-theme-powerlevel10k/) community package and yay -Sy --noconfirm zsh-theme-powerlevel10k-git
[zsh-theme-powerlevel10k-git](https://aur.archlinux.org/packages/zsh-theme-powerlevel10k-git/) AUR echo 'source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc
package. Both are old and broken. **Do not use them.** ```
## Configuration ## Configuration
@ -588,18 +588,19 @@ Powerlevel10k is released under the
The command to update Powerlevel10k depends on how it was installed. The command to update Powerlevel10k depends on how it was installed.
| Installation | Update command | | Installation | Update command |
|-------------------------|------------------------------------------------| |---------------------------|-------------------------------------------------------------|
| [Manual](#manual) | `git -C ~/powerlevel10k pull` | | [Manual](#manual) | `git -C ~/powerlevel10k pull` |
| [Oh My Zsh](#oh-my-zsh) | `git -C ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k pull` | | [Oh My Zsh](#oh-my-zsh) | `git -C ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k pull` |
| [Prezto](#prezto) | `zprezto-update` | | [Prezto](#prezto) | `zprezto-update` |
| [Zim](#zim) | `zimfw update` | | [Zim](#zim) | `zimfw update` |
| [Antigen](#antigen) | `antigen update` | | [Antigen](#antigen) | `antigen update` |
| [Zplug](#zplug) | `zplug update` | | [Zplug](#zplug) | `zplug update` |
| [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` | | [Homebrew](#homebrew) | `brew update && brew upgrade` |
| [Arch Linux(#arch-linux)] | `yay -Syu --noconfirm --needed zsh-theme-powerlevel10k-git` |
**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