You are not logged in.

#1 2021-01-27 03:30:28

laichiaheng
Member
Registered: 2017-02-12
Posts: 297

[SOLVED] How to change my .zshrc theme to Powerlevel10k.

I have rebuild my .zshrc by reading Archwiki without any third party script, but I have no idea how to change to Powerlevel10k theme with the package which is provided by ArchLinux.

Name            : zsh-theme-powerlevel10k
Version         : 1.13.0-1
Description     : Powerlevel10k is a theme for Zsh. It emphasizes speed, flexibility and
                  out-of-the-box experience.
Architecture    : x86_64
URL             : https://github.com/romkatv/powerlevel10k
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : glibc  zsh
Optional Deps   : powerline-fonts: patched fonts for powerline [installed]
                  awesome-terminal-fonts: icon package [installed]
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : zsh-theme-powerlevel9k
Installed Size  : 3.77 MiB
Packager        : Christian Rebischke <Chris.Rebischke@archlinux.org>
Build Date      : Sun Oct 18 19:09:13 2020
Install Date    : Wed Jan 27 10:56:38 2021
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

Which of the zsh file should I add to .zshrc?

Last edited by laichiaheng (2021-01-27 05:39:24)

Offline

#2 2021-01-27 03:40:02

laichiaheng
Member
Registered: 2017-02-12
Posts: 297

Re: [SOLVED] How to change my .zshrc theme to Powerlevel10k.

It works after I add this line

sudo ln -s /usr/share/zsh-theme-powerlevel10k/prompt_powerlevel10k_setup /usr/share/zsh/functions/Prompts/prompt_powerlevel10k_setup

It really is easier than third party script.

Last edited by laichiaheng (2021-01-27 03:47:03)

Offline

Board footer

Powered by FluxBB