You are not logged in.

#1 2022-01-23 11:35:47

Pezhman
Member
Registered: 2022-01-19
Posts: 63

[SOLVED]How to reset bash shell?

Hello

I wanted to customize my shell with "synth-shell" script but I messed up
and I wanted to reset evrything to factory settings but I deleted .bashrc config file.
my terminal works but all of my aliases are gone.
I want to regenerate .bashrc config file in home directory
how to reset bash shell?

Last edited by Pezhman (2022-01-23 13:20:32)

Offline

#2 2022-01-23 11:54:50

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED]How to reset bash shell?

The bash package supplies /etc/skel/.bashrc, which can be copied to "$HOME", but that only contains an interactivity check, an ls alias and the default prompt setting. Anything else you've added will have to be restored from a backup. You do have backups, right?

Last edited by Head_on_a_Stick (2022-01-23 11:55:28)


Jin, Jîyan, Azadî

Offline

#3 2022-01-23 13:20:15

Pezhman
Member
Registered: 2022-01-19
Posts: 63

Re: [SOLVED]How to reset bash shell?

thank you
[SOLVED]

Offline

Board footer

Powered by FluxBB