[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?
>
>
>
>
>
- Default PS1, ილია ჩაჩანიძე, 2021/03/29
- Re: Default PS1, Chris Elvidge, 2021/03/29
- Re: Default PS1, L A Walsh, 2021/03/29
- Re: Default PS1, Greg Wooledge, 2021/03/29
- Re: Default PS1, L A Walsh, 2021/03/29
- Re: Default PS1, Greg Wooledge, 2021/03/29
- Re: Defaults -- any, L A Walsh, 2021/03/30
- Re: Defaults -- any, Lawrence Velázquez, 2021/03/30
- Re: Defaults -- any, Greg Wooledge, 2021/03/30
Re: Default PS1,
Christopher Dimech <=