Hacker News new | ask | show | jobs
by Hamuko 880 days ago
I also can't understand the two-line prompt. I want my prompt to take as little space as possible.
2 comments

I appreciate the extra context information. Displaying the user/system over ssh is pretty nice. I've also done similar in windows for network drives.
I agree with the latter point. But I use xonsh as the shell and that has a prompt which can go on the last line of the terminal and does not get repeated each time, so when you scroll back you don't all the information each time.

I use that for starship information and the prompt is just the return code p[lus a character.

Oh, that's a great feature, wish it were more widespread
It depends on a library pigments that treats the Terminal as a TUI and not just like plain shells that just treat the terminal as a coloured teletype