Sujet : Re: What?
De : damien.wyart (at) *nospam* free.fr (Damien Wyart)
Groupes : comp.unix.shellDate : 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