bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default PS1


From: Christopher Dimech
Subject: Re: Default PS1
Date: Mon, 29 Mar 2021 22:53:33 +0200

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" <bash@tlinx.org>
> To: "ილია ჩაჩანიძე" <ilia.chachanidze35@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?
> 
> 
> 
> 
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]