So I made a copr repo PoC: https://copr.fedorainfracloud.org/coprs/petersen/bash-color-prompt/
which you can test: the bash-color-prompt package there drops a conditionalized PS1 into /etc/profile.d/ for now. $ sudo dnf-3 copr enable petersen/bash-color-prompt $ sudo dnf install bash-color-prompt This shouldn't really be the final solution though - I would like it to be available by default (even if turned off), but at least this allows more user-testing now in different scenarios. The prompt is similar to the one from my original post and can still be "user-themed" with PROMPT_COLOR: it now defaults to normal green and adds the red error code from Stephan (maybe this part could still be improved?) - both now non-bright/bold. https://copr-dist-git.fedorainfracloud.org/cgit/petersen/bash-color-prompt/bash-color-prompt.git/tree/ I can create a proper github or even pagure repo later if needed, but right now I feel it would be helpful to have more user-feedback first. I am happy to adapt this into a F39 Change (it could be monochrome by default if pre-installed) if people want that: I feel it is only really compelling if integrated into default desktop installations in some form. Jens ps It would be nice to support toolbox/containers too (like $debian_chroot) and have opt-in for git branch too, but those could be added later I think. Also a root color perhaps, as discussed. pps I did test dim reverse-video but it looks quite stark in a light terminal.
_______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue