add installation instructions for Arch Linux via Pacman

pull/581/head
romkatv 5 years ago
parent af4f7a5890
commit 505a77f02e

@ -28,6 +28,7 @@ Ready to give Powerlevel10k a try?
- [Zplugin](#zplugin) - [Zplugin](#zplugin)
- [Zinit](#zinit) - [Zinit](#zinit)
- [Homebrew](#homebrew) - [Homebrew](#homebrew)
- [Arch Linux](#arch-linux)
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.
@ -405,6 +406,13 @@ brew install romkatv/powerlevel10k/powerlevel10k
echo 'source /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc echo 'source /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc
``` ```
### Arch Linux
```zsh
pacman -Sy --noconfirm zsh-theme-powerlevel10k
echo 'source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc
```
## Configuration ## Configuration
### For new users ### For new users
@ -1051,10 +1059,11 @@ https://www.reddit.com/r/zsh/comments/eg49ff/powerlevel10k_prompt_history_exit_c
### Is there an AUR package for Powerlevel10k? ### Is there an AUR package for Powerlevel10k?
There are two: There is [zsh-theme-powerlevel10k-git](
[zsh-theme-powerlevel10k-git](https://aur.archlinux.org/packages/zsh-theme-powerlevel10k-git/) and https://aur.archlinux.org/packages/zsh-theme-powerlevel10k-git/). It's owned by an unaffiliated
[zsh-theme-powerlevel10k](https://aur.archlinux.org/packages/zsh-theme-powerlevel10k/). Both volunteer.
packages are owned by unaffiliated volunteers.
There is also an [official Powerlevel10k package](#arch-linux) for Pacman.
### What is the minimum supported Zsh version? ### What is the minimum supported Zsh version?
@ -1589,12 +1598,14 @@ typeset -g POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION='${P9K_CONTENT}' # not bold
- [Oh My Zsh](#oh-my-zsh) - [Oh My Zsh](#oh-my-zsh)
- [Prezto](#prezto) - [Prezto](#prezto)
- [Zim](#zim) - [Zim](#zim)
- [Antibody](#antibody)
- [Antigen](#antigen) - [Antigen](#antigen)
- [Zplug](#zplug) - [Zplug](#zplug)
- [Zgen](#zgen) - [Zgen](#zgen)
- [Zplugin](#zplugin) - [Zplugin](#zplugin)
- [Zinit](#zinit) - [Zinit](#zinit)
- [Homebrew](#homebrew) - [Homebrew](#homebrew)
- [Arch Linux](#arch-linux)
- [Configuration](#configuration) - [Configuration](#configuration)
- [For new users](#for-new-users) - [For new users](#for-new-users)
- [For Powerlevel9k users](#for-powerlevel9k-users) - [For Powerlevel9k users](#for-powerlevel9k-users)

Loading…
Cancel
Save