6 ms·
what kind of psychopath has a two line prompt?
by arrakeen 3y ago
what kind of psychopath has a two line prompt?
- konart 3y agoI do. I'd like to have some usefull information about my session but also prefer when my input begins from the first column.
- Hamuko 3y agoI also can't understand the two-line prompt. I want my prompt to take as little space as possible.
- tracker1 3y agoI appreciate the extra context information. Displaying the user/system over ssh is pretty nice. I've also done similar in windows for network drives.
- pasc1878 3y agoI 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.
- BiteCode_dev 3y agoI like my prompt being a separator between the output of the previous cmd and the next cmd I type.
- sevg 3y agoI can see arguments for both sides. Personally, I find the extra blank line to be a useful visual separator between lines of output. Particularly useful when running commands with lots of output or 'cat'-ing files or logs.
- Narushia 3y agoIf you find that wasteful, you can use the “transient prompt” feature to only print the full prompt to the current line, but keep the command history on one line per command in the terminal.
- petesergeant 3y agolot of information that'd be nicer to have at a higher level than the prompt, like the tmux or screen status bar. Be even better if a "prompt" like this could set a variable using ANSI escapes that various terminal emulators could display.
- ykonstant 3y agoIn contrast to the minimalist philosophy, I want to have as much visual information about the active state of my session as possible. So many stories of deleted files and databases, botched git actions and server crashes due to admins/devs forgetting which folder/host they are on, or which user they are logged in as, or whether the previous command failed or not.
- xigoi 3y agoI don’t like my commands starting at a different column depending on which directory I’m in.