Restore Terminal ZSH to default settings

Hello there. Recently I messed around with the p10k configure settings. However I do not like its look I’m looking to restore all settings back to default. Can someone give me a pointer as to how I can do it???

Welcome to the Forum :wave:
Do

mv ~/.p10k.zsh ~/.p10k.zsh.bak
mv ~/.zshrc ~/.zshrc.bak
cp /etc/skel/.zshrc ~/

:wink:

2 Likes

Hi there, I appreciate the quick help. However it did not resolved my problem.

But I was unable to have the icons back. The issue still persists.

Could you give a screenshot of your terminal?

I’m trying to but unable to embed the picture in the forum respond right now.

You can post it to Imgur and post the link here as text

https://imgur.com/a/5U4Ya1S

This is what it is looking like.

Edit: Sorry for the ruckus right now. I’m unable to post links or embed pictures.

Most probably it’s due to some font anomaly. What font are you using in gnome terminal?

Source Code Pro. That’s the only thing I changed yet

Does changing back to default font solve the issue?

No, unfortunately.

Did you install oh-my-zsh or something like that

?

No I did not. I was just using the p10k configure command ( tried sudo p10k configure however it did not let me do it. Command returned as does not exist if I use sudo

Sorry, I’m out of ideas as of now :man_shrugging: .
The best thing I can think is to create a new user and see if it’s ok there.

Yes I just created a new user for test and everything seems okay on the second user (Created as Admin). Do you reckon I can just copy pasta some files??? Where do I start?

install manjaro-zsh-config and paste this in your ~/.zshrc:

# Use powerline
USE_POWERLINE="true"
# Source manjaro-zsh-configuration
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
  source /usr/share/zsh/manjaro-zsh-config
fi
# Use manjaro zsh prompt
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
  source /usr/share/zsh/manjaro-zsh-prompt
fi

and then:

source ~/.zshrc
1 Like

default setting is in /etc/skel
/etc/skel/.zshrc
copy that to your HOME and you should have restored what Manjaro came with
if you have
manjaro-zsh-config
installed

1 Like

Thank you for the answer but it did not helped me. The issue still persists for now. I do have a Timeshift snapshot but it was the day (I was stupid enough that I didn’t make a second snapshot before this whole stuff) so if I can I want it to be the last resort.

Edit: It seems like stuff is normal on my second test account user. What should I copy from that user to replace in my main account? I have the USB stick ready.

Edit 2: The issue persists even as I do a Timeshift snapshot restore. It did not fix it at all. Send help.

That would indicate that what @Shirshendu said and what I said is what is needed.
Or just compare the files in your new user account with what you have in your “old” one.
Nothing more than that is needed.

or just switch to bash temporarily
chsh -s /bin/bash

I’m still very new to this so I don’t know what files to replace copy and what doesn’t. Where do I start?