In your .bashrc you can do PS1='My-linux-distro $\n'
--------------------- Christopher Dimech General Administrator - Naiad Informatics - GNU Project (Geocomputation) - Geophysical Simulation - Geological Subsurface Mapping - Disaster Preparedness and Mitigation - Natural Resource Exploration and Production - Free Software Advocacy > Sent: Tuesday, March 30, 2021 at 8:49 AM > From: "L A Walsh" <b...@tlinx.org> > To: "ილია ჩაჩანიძე" <ilia.chachanidz...@gmail.com> > Cc: bug-bash@gnu.org > Subject: Re: Default PS1 > > On 2021/03/29 04:04, ილია ჩაჩანიძე wrote: > > How can I set default PS1 variable from source code? > > > --- > What do you mean "from source code?" > > E.g I want it to display: > > My-linux-distro $ > > And not: > > Bash-5.1 $ > > > --- > Does the procedure documented in the bash man page not work? > > Or, what do you mean by 'default'? Is it sufficient > to set it in the system /etc/profile so it is the default > for all users when logging in? > > > > >