Re: more distinct default bash prompt?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So I made a copr repo PoC:


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.


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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux