Re: bash prompt question

Liste des Groupes 
Sujet : Re: bash prompt question
De : damien.wyart (at) *nospam* free.fr (Damien Wyart)
Groupes : comp.unix.shell
Date : 24. Sep 2024, 09:06:51
Autres entêtes
Organisation : Serveur de News Free
Message-ID : <66f2731d$0$3674$426a34cc@news.free.fr>
References : 1
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/31.0.50
* François Patte <francois.patte@mi.parisdescartes.fr> in comp.unix.shell:
Wanting to personalize my bash prompt I wrote in my .bashrc file (with
the help of "Learning the BASH shell"):

 export PS1='\[\e[1;35m\]\u@\h -\d- ${text} \W\[\e[m]\]\$ '

While it is useful to play with PS1 for learning purposes, to be able to customize
your prompt easily and in a powerful way, I advise the use of a framework prompt.
There are many of them, one I really like is Starship:

https://starship.rs/
https://github.com/starship/starship

--
DW

Date Sujet#  Auteur
19 Sep 24 * bash prompt question21François Patte
19 Sep 24 +* Re: bash prompt question6Chris Elvidge
19 Sep 24 i+- Re: bash prompt question1François Patte
23 Sep 24 i`* Re: bash prompt question4Brian Patrie
23 Sep 24 i `* Re: bash prompt question3Geoff Clare
24 Sep 24 i  `* Re: bash prompt question2Brian Patrie
24 Sep 24 i   `- Re: bash prompt question1Geoff Clare
24 Sep 24 `* Re: bash prompt question14Damien Wyart
24 Sep 24  +* What? (Was: bash prompt question)9Kenny McCormack
24 Sep 24  i+* Re: What?5Damien Wyart
24 Sep 24  ii+- Re: What?1Axel Reichert
24 Sep 24  ii+- Re: What?1Kenny McCormack
24 Sep 24  ii+- Re: What?1Janis Papanagnou
25 Sep 24  ii`- Re: What?1Damien Wyart
25 Sep 24  i`* Re: What?3Damien Wyart
25 Sep 24  i +- Re: What?1Janis Papanagnou
25 Sep 24  i `- Re: What?1Damien Wyart
24 Sep 24  +- Re: bash prompt question1Kaz Kylheku
24 Sep 24  `* Re: bash prompt question3Kaz Kylheku
24 Sep 24   +- Re: bash prompt question1Kenny McCormack
25 Sep 24   `- Re: bash prompt question1Damien Wyart

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal