I lost file .zshrc. What should I do to zsh?

Because of my stupidity, I lost .zshrc.
Now I don’t know how to change it back to its original state. Can anyone tell me what the content of this file is
I have never modified it. It should still be the default

If you have manjaro-zsh-config installed, you can restore the original from /etc/skel/:

cp /etc/skel/.zshrc ~/

Then source the file to load it in your current terminal:

source ~/.zshrc

Sounds like it’s a good time to start creating regular backups. :wink:


Thank you very much. The problem has been solved.

Yes, I also think it is a good time to set up a regular backup to avoid similar problems

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.