Sujet : Re: bash prompt question
De : 643-408-1753 (at) *nospam* kylheku.com (Kaz Kylheku)
Groupes : comp.unix.shellDate : 24. Sep 2024, 20: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/txrCygnal: Cygwin Native Application Library: http://kylheku.com/cygnalMastodon: @Kazinator@mstdn.ca