mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
add installation instructions for alpine; related: #1828
This commit is contained in:
parent
a3f6859a8d
commit
5c7ad753a2
1 changed files with 36 additions and 26 deletions
14
README.md
14
README.md
|
@ -411,6 +411,7 @@ Powerlevel10k.
|
|||
- [Zinit](#zinit)
|
||||
- [Homebrew](#homebrew)
|
||||
- [Arch Linux](#arch-linux)
|
||||
- [Alpine Linux](#arch-linux)
|
||||
|
||||
### Manual
|
||||
|
||||
|
@ -506,6 +507,13 @@ There is also [zsh-theme-powerlevel10k](
|
|||
Historically, [it has been breaking often and for extended periods of time](
|
||||
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
|
||||
|
||||
- [For new users](#for-new-users)
|
||||
|
@ -756,7 +764,7 @@ Powerlevel10k is released under the
|
|||
The command to update Powerlevel10k depends on how it was installed.
|
||||
|
||||
| Installation | Update command |
|
||||
|---------------------------|-------------------------------------------------------------|
|
||||
|-------------------------------|-------------------------------------------------------------|
|
||||
| [Manual](#manual) | `git -C ~/powerlevel10k pull` |
|
||||
| [Oh My Zsh](#oh-my-zsh) | `git -C ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k pull` |
|
||||
| [Prezto](#prezto) | `zprezto-update` |
|
||||
|
@ -768,6 +776,7 @@ The command to update Powerlevel10k depends on how it was installed.
|
|||
| [Zinit](#zinit) | `zinit update` |
|
||||
| [Homebrew](#homebrew) | `brew update && brew upgrade` |
|
||||
| [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`](
|
||||
#weird-things-happen-after-typing-source-zshrc).
|
||||
|
@ -806,7 +815,7 @@ The command to update Powerlevel10k depends on how it was installed.
|
|||
Refer to the [installation instructions](#installation) if you need a reminder.
|
||||
|
||||
| Installation | Uninstall command |
|
||||
|---------------------------|------------------------------------------------------------------|
|
||||
|-------------------------------|------------------------------------------------------------------|
|
||||
| [Manual](#manual) | `rm -rf ~/powerlevel10k` |
|
||||
| [Oh My Zsh](#oh-my-zsh) | `rm -rf -- ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k` |
|
||||
| [Prezto](#prezto) | n/a |
|
||||
|
@ -818,6 +827,7 @@ The command to update Powerlevel10k depends on how it was installed.
|
|||
| [Zinit](#zinit) | `zinit delete romkatv/powerlevel10k` |
|
||||
| [Homebrew](#homebrew) | `brew uninstall powerlevel10k; brew untap romkatv/powerlevel10k` |
|
||||
| [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).
|
||||
7. Delete Powerlevel10k cache files.
|
||||
```zsh
|
||||
|
|
Loading…
Reference in a new issue