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.
I really like the work on this package btw! I just need to customize it a bit.
I’m getting the exact same error, p10k configure: cannot create /usr/share/zsh/p10k.zsh because /usr/share/zsh is readonly
This is with the powerlevel10k setup that is now pre-installed on the latest ISO. On Gnome, opening a terminal from first boot goes straight to a custom p10k prompt. On Plasma I just have to use chsh.
This I love because it saves me setting it up from scratch, but if I want to reconfigure, the above error message appears.
i had the same error “p10k configure: cannot create /usr/share/zsh/p10k.zsh because /usr/share/zsh is readonly” when it tried to configure powerlevel10k.
what i did was, open /usr/share/zsh/manjaro-zsh-prompt
then save manjaro-zsh-prompt, open your konsole and it will prompt to configure powerlevel10k. this will create a .p10k.zsh file in your home directory and modify your .zshrc
if you need to make changes, you can now use “p10k configure”
if you like to use the stock config of manjaro-zsh-config, copy /usr/share/zsh/p10k.zsh file to you home directory, replacing .p10k.zsh
if there is something wrong with what i did, kindly correct me, im still new(noob). btw, im using manjaro kde plasma.
Hi! I run into the same thing every time I do an install, my workaround for a system wide configuration is change file ownership & permissions temporarily, be careful though chown & chmod recursively can mess up your system: