1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 12:20:07 +00:00

add installation instructions for alpine; related: #1828

This commit is contained in:
Roman Perepelitsa 2022-05-28 18:59:10 +02:00
parent a3f6859a8d
commit 5c7ad753a2

View file

@ -411,6 +411,7 @@ Powerlevel10k.
- [Zinit](#zinit) - [Zinit](#zinit)
- [Homebrew](#homebrew) - [Homebrew](#homebrew)
- [Arch Linux](#arch-linux) - [Arch Linux](#arch-linux)
- [Alpine Linux](#arch-linux)
### Manual ### Manual
@ -506,6 +507,13 @@ There is also [zsh-theme-powerlevel10k](
Historically, [it has been breaking often and for extended periods of time]( Historically, [it has been breaking often and for extended periods of time](
https://github.com/romkatv/powerlevel10k/pull/786). **Do not use it.** https://github.com/romkatv/powerlevel10k/pull/786). **Do not use it.**
### Alpine Linux
```zsh
apk add zsh-theme-powerlevel10k
echo 'source /usr/share/zsh/plugins/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc
```
## Configuration ## Configuration
- [For new users](#for-new-users) - [For new users](#for-new-users)
@ -755,19 +763,20 @@ 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:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k pull` | | [Oh My Zsh](#oh-my-zsh) | `git -C ${ZSH_CUSTOM:-$HOME/.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 -S --noconfirm zsh-theme-powerlevel10k-git` | | [Arch Linux](#arch-linux) | `yay -S --noconfirm zsh-theme-powerlevel10k-git` |
| [Alpine Linux](#alpine-linux) | `apk update && apk 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).
@ -805,19 +814,20 @@ The command to update Powerlevel10k depends on how it was installed.
Powerlevel10k. The command to delete them depends on which installation method you'd chosen. Powerlevel10k. The command to delete them depends on which installation method you'd chosen.
Refer to the [installation instructions](#installation) if you need a reminder. Refer to the [installation instructions](#installation) if you need a reminder.
| Installation | Uninstall command | | Installation | Uninstall command |
|---------------------------|------------------------------------------------------------------| |-------------------------------|------------------------------------------------------------------|
| [Manual](#manual) | `rm -rf ~/powerlevel10k` | | [Manual](#manual) | `rm -rf ~/powerlevel10k` |
| [Oh My Zsh](#oh-my-zsh) | `rm -rf -- ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k` | | [Oh My Zsh](#oh-my-zsh) | `rm -rf -- ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k` |
| [Prezto](#prezto) | n/a | | [Prezto](#prezto) | n/a |
| [Zim](#zim) | `zimfw uninstall` | | [Zim](#zim) | `zimfw uninstall` |
| [Antigen](#antigen) | `antigen purge romkatv/powerlevel10k` | | [Antigen](#antigen) | `antigen purge romkatv/powerlevel10k` |
| [Zplug](#zplug) | `zplug clean` | | [Zplug](#zplug) | `zplug clean` |
| [Zgen](#zgen) | `zgen reset` | | [Zgen](#zgen) | `zgen reset` |
| [Zplugin](#zplugin) | `zplugin delete romkatv/powerlevel10k` | | [Zplugin](#zplugin) | `zplugin delete romkatv/powerlevel10k` |
| [Zinit](#zinit) | `zinit delete romkatv/powerlevel10k` | | [Zinit](#zinit) | `zinit delete romkatv/powerlevel10k` |
| [Homebrew](#homebrew) | `brew uninstall powerlevel10k; brew untap romkatv/powerlevel10k` | | [Homebrew](#homebrew) | `brew uninstall powerlevel10k; brew untap romkatv/powerlevel10k` |
| [Arch Linux](#arch-linux) | `yay -R --noconfirm zsh-theme-powerlevel10k-git` | | [Arch Linux](#arch-linux) | `yay -R --noconfirm zsh-theme-powerlevel10k-git` |
| [Alpine Linux](#alpine-linux) | `apk del zsh-theme-powerlevel10k` |
6. Restart Zsh. [Do not use `source ~/.zshrc`](#weird-things-happen-after-typing-source-zshrc). 6. Restart Zsh. [Do not use `source ~/.zshrc`](#weird-things-happen-after-typing-source-zshrc).
7. Delete Powerlevel10k cache files. 7. Delete Powerlevel10k cache files.
```zsh ```zsh