Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So is your proposed solution not to have colored prompts? (I vehemently disagree.) Or not to put them in a .bashrc? (I still disagree, but only strongly.) Or something else?


The main problem here is that a change that should have been done as part of an individual's customization was made to a shared configuration file.


Or, y'know, have coloured prompts but place the escape characters such that they don't mess with prompt-detection regexps.


To be precise, what you're suggesting is that we have prompts which are allowed to be colored except for the $/# at the end, because you can't color those without following them by escape characters. And that prompts must have a $/# at the end.

I don't consider that an acceptable solution.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: