Package Details: zsh-theme-powerlevel10k-git r2255.a1c45a5-1

Git Clone URL: https://aur.archlinux.org/zsh-theme-powerlevel10k-git.git (read-only, click to copy)
Package Base: zsh-theme-powerlevel10k-git
Description: Powerlevel10k is a theme for ZSH. It's a backward-compatible fork of Powerlevel9k with lower latency and better prompt responsiveness
Upstream URL: https://github.com/romkatv/powerlevel10k
Licenses: MIT
Conflicts: zsh-theme-powerlevel10k, zsh-theme-powerlevel9k-git
Provides: zsh-theme-powerlevel10k
Submitter: madscience
Maintainer: madscience
Last Packager: madscience
Votes: 14
Popularity: 1.47
First Submitted: 2019-03-10 00:06
Last Updated: 2020-02-04 04:38

Dependencies (14)

Required by (0)

Sources (1)

Pinned Comments

madscience commented on 2020-03-16 02:00

I don't see anywhere that p10k is sourcing a "powerlevel9k.zsh-theme" file. Did you by any chance previously install p9k as root?

t0m5k1 commented on 2020-03-13 15:02

root user 'can't open powerlevel9k.zsh-theme'

Error seen:

(anon):zcompile:18: can't open file: /usr/share/zsh-theme-powerlevel10k/powerlevel9k.zsh-theme

Answer from Romkatv:

"Please file a bug against the owner of that AUR package. The package is missing files. It's impractical to write Powerlevel10k code defensively with the assumption that users will delete a portion of its source files."

(https://github.com/romkatv/powerlevel10k/issues/528#issuecomment-591840678)

madscience commented on 2019-03-10 03:02

To start, add the following to your .zshrc:

source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme

See https://github.com/romkatv/powerlevel10k/#configuration for configuration options.

Latest Comments

1 2 3 Next › Last »

jeancf commented on 2020-03-23 08:18

@romkatv thanks, I know. I would rather have the package owner fix it instead of having to create another package myself but if it comes down to that I will do it. UPDATE: zsh-theme-powerlevel10k package has just been released on Manjaro and it does not exhibit the issue describe here when starting a root session.

romkatv commented on 2020-03-23 08:06

@jeancf If you have git, you can follow the standard installation instructions that work on every OS: https://github.com/romkatv/powerlevel10k/#manual. It's just one command:

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k

If you don't have git, you can download an archive from https://github.com/romkatv/powerlevel10k/releases and extract files with tar -xzf.

jeancf commented on 2020-03-23 07:57

@romkatv I am on Manjaro and that package is not available in the official repos. This is the only source for powerlevel10k in Manjaro.

romkatv commented on 2020-03-22 19:06

@jeancf You might want to migrate to zsh-theme-powerlevel10k pacman package. See https://github.com/romkatv/powerlevel10k/#arch-linux.

jeancf commented on 2020-03-22 12:27

I am experiencing the exact same issue as @t0m5k1.

romkatv commented on 2020-03-21 08:12

You can reproduce "can't open powerlevel9k.zsh-theme" error by trying to load powerlevel10k as root.

As I mentioned in https://github.com/romkatv/powerlevel10k/issues/528#issuecomment-591840678, it's impractical to write Powerlevel10k code defensively with the assumption that users will delete a portion of its source files. Please include all files from https://github.com/romkatv/powerlevel10k in the package.

Also note that there is https://www.archlinux.org/packages/community/any/zsh-theme-powerlevel10k/ now. It includes all files, so it doesn't break if you try to load powerlevel10k as root.

madscience commented on 2020-03-16 02:00

I don't see anywhere that p10k is sourcing a "powerlevel9k.zsh-theme" file. Did you by any chance previously install p9k as root?

t0m5k1 commented on 2020-03-13 15:02

root user 'can't open powerlevel9k.zsh-theme'

Error seen:

(anon):zcompile:18: can't open file: /usr/share/zsh-theme-powerlevel10k/powerlevel9k.zsh-theme

Answer from Romkatv:

"Please file a bug against the owner of that AUR package. The package is missing files. It's impractical to write Powerlevel10k code defensively with the assumption that users will delete a portion of its source files."

(https://github.com/romkatv/powerlevel10k/issues/528#issuecomment-591840678)

madscience commented on 2020-02-02 20:50

Hey everyone, I'm going through some personal issues and won't be able to update the pkgbuild until tomorrow evening. Just comment out line 55

wbthomason commented on 2020-02-02 20:47

@christianbundy: Edit the PKGBUILD to comment out or delete line 55, where that file is installed. Per the repo (https://github.com/romkatv/powerlevel10k/commit/4de584652c0e53266ea7ea51ae22312ec48f033a), p9k-vs-p10k.cast has been deleted.

@madscience: This should be updated in the official PKGBUILD, please.