diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 31 |
1 files changed, 23 insertions, 8 deletions
@@ -21,12 +21,14 @@ Ready to give Powerlevel10k a try? - [Oh My Zsh](#oh-my-zsh) - [Prezto](#prezto) - [Zim](#zim) + - [Antibody](#antibody) - [Antigen](#antigen) - [Zplug](#zplug) - [Zgen](#zgen) - [Zplugin](#zplugin) - [Zinit](#zinit) - [Homebrew](#homebrew) + - [Arch Linux](#arch-linux) 1. Restart Zsh. 1. Type `p10k configure` if the configuration wizard doesn't start automatically. @@ -366,6 +368,10 @@ Add `zstyle :prezto:module:prompt theme powerlevel10k` to `~/.zpreztorc`. Add `zmodule romkatv/powerlevel10k` to `~/.zimrc` and run `zimfw install`. +### Antibody + +Add `antibody bundle romkatv/powerlevel10k` to `~/.zshrc`. + ### Antigen Add `antigen theme romkatv/powerlevel10k` to `~/.zshrc`. Make sure you have `antigen apply` @@ -400,6 +406,13 @@ brew install romkatv/powerlevel10k/powerlevel10k 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 ### For new users @@ -1046,10 +1059,11 @@ https://www.reddit.com/r/zsh/comments/eg49ff/powerlevel10k_prompt_history_exit_c ### Is there an AUR package for Powerlevel10k? -There are two: -[zsh-theme-powerlevel10k-git](https://aur.archlinux.org/packages/zsh-theme-powerlevel10k-git/) and -[zsh-theme-powerlevel10k](https://aur.archlinux.org/packages/zsh-theme-powerlevel10k/). Both -packages are owned by unaffiliated volunteers. +There is [zsh-theme-powerlevel10k-git]( + https://aur.archlinux.org/packages/zsh-theme-powerlevel10k-git/). It's owned by an unaffiliated +volunteer. + +There is also an [official Powerlevel10k package](#arch-linux) for Pacman. ### What is the minimum supported Zsh version? @@ -1531,15 +1545,14 @@ The last line on the screenshot shows a cut off Arch Linux logo. There are several mitigation options for this issue. 1. Use a different terminal. Konsole is the only terminal that exhibits this behavior. -2. Use a monospace font. For example, [the recommended Powerlevel10k font]( - #meslo-nerd-font-patched-for-powerlevel10k). +2. Use a monospace font. 3. Manually add an extra space after the icon that gets cut off. For example, if the content of `os_icon` prompt segment gets cut off, open `~/.p10k.zsh`, search for `POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION` and change it as follows: ```zsh -typeset -g POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION='%B${P9K_CONTENT} ' # extra space at the end +typeset -g POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION='${P9K_CONTENT} ' # extra space at the end ``` -4. Use a different icon that isn't monospace. For example, if Arch Linux logo gets cut off, add +4. Use a different icon that is monospace. For example, if Arch Linux logo gets cut off, add the following parameter to `~/.p10k.zsh`: ```zsh typeset -g POWERLEVEL9K_LINUX_ARCH_ICON='Arch' # plain "Arch" in place of a logo @@ -1585,12 +1598,14 @@ typeset -g POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION='${P9K_CONTENT}' # not bold - [Oh My Zsh](#oh-my-zsh) - [Prezto](#prezto) - [Zim](#zim) + - [Antibody](#antibody) - [Antigen](#antigen) - [Zplug](#zplug) - [Zgen](#zgen) - [Zplugin](#zplugin) - [Zinit](#zinit) - [Homebrew](#homebrew) + - [Arch Linux](#arch-linux) - [Configuration](#configuration) - [For new users](#for-new-users) - [For Powerlevel9k users](#for-powerlevel9k-users) |