Re: bash prompt question

Liste des GroupesRevenir à cu shell 
Sujet : Re: bash prompt question
De : 643-408-1753 (at) *nospam* kylheku.com (Kaz Kylheku)
Groupes : comp.unix.shell
Date : 24. Sep 2024, 19:04:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240924104900.445@kylheku.com>
References : 1 2
User-Agent : slrn/pre1.0.4-9 (Linux)
On 2024-09-24, Damien Wyart <damien.wyart@free.fr> wrote:
* 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

This is fucking retarded. It consists of dozens of Rust source files,
not to mention .json, .yaml and other cruft.

... for customizing shell prompts?

Please tell me it's an April Fool's joke!

You must not be old enough to remember simple computing with low
dependencies, and are probably grateful that you don't need a cloud
account and API key to use this.  Or, wait, don't tell me ...

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

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