nfp0
16 April 2021 21:38
3
Great guide!
Though, it’s worth to mention that currently p10k configure
is not working out of the box on Manjaro. It outputs:
[ERROR] p10k configure: cannot create /usr/share/zsh/p10k.zsh because /usr/share/zsh is readonly
And sudo p10k configure
outputs:
sudo: p10k: command not found
This is discussed in these 2 threads:
What’s the right way to add alias’s and otherwise customize the official manjaro-zsh-config install? From what I see it’s all found in /usr/share/zfs which is owned by root. Do I just add my changes to those files as sudo? Wouldn’t that make it system-wide?
Another issue is when I try and change the default p10k theme by running “p10k configure” it fails with “[ERROR] p10k configure: cannot create /usr/share/zsh/p10k.zsh because /usr/share/zsh is readonly”, which is related to my original issue…
Hi there,
How can I customize powerlevel prompt without breaking other zsh and powerlevel default settings? I want to remove the Manjaro icon from the powerlevel prompt. What’ the correct way to do it?
Thank you.
With the solution being:
@basju81 @mvalkier
I can’t remember exactly what I did because it was long ago (though I remember it wasn’t without problem), but it is totally possible to do it. Try to:
sudo cp /usr/share/zsh/p10k.zsh ~/.p10k.zsh
and the source this at the very bottom of your ~/.zshrc
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
3 Likes