Re: What?

Liste des GroupesRevenir à cu shell 
Sujet : Re: What?
De : damien.wyart (at) *nospam* free.fr (Damien Wyart)
Groupes : comp.unix.shell
Date : 25. Sep 2024, 20:41:16
Autres entêtes
Organisation : Serveur de News Free
Message-ID : <66f4675c$0$3656$426a74cc@news.free.fr>
References : 1 2 3 4
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/31.0.50
From all the posts (yours and other responses) I guess that you have to install
a (huge) package to introduce a layer between you and your shell, that all input
and output gets intercepted and transformed

No.

PS: *If* the package is effectively an intercepting layer I wonder how it will
pass functions that I use in my shell (e.g. Vi Editing Mode) to the shell.

I will only answer for Starship (I did not study the other tools deeply) and bash
(quite "standard"): Starship only relies on PROMPT_COMMAND, PS0, PS1 and PS2, so
once its prompt displaying is done, the shell is normal and gets its input as
usual. Same for the output of commands, it doesn't goes through Starship itself.

--
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