Re: Bash initialization

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

 



Will McDonald wrote:
> On Sun, 1 Dec 2024 at 17:10, Patrick O'Callaghan <pocallaghan@xxxxxxxxx>
> wrote:
> 
>> On Sun, 2024-12-01 at 11:16 -0500, Todd Zullinger wrote:
>>> One thing which is new is the bash-color-prompt package was
>>> added.  This installs /etc/profile.d/bash-color-prompt.sh
>>> which sets PS1.  Documentation for how to use it is in
>>> /usr/share/doc/bash-color-prompt/README.md, if you want to
>>> take advantage of it.
>>>
>>
>> Some of us would really appreciate a GUI colour picker that just
>> outputs the ANSI codes. I have the same issue with LS_COLORS. Or does
>> such a thing already exist?
>>
> 
> Looks like there's a bunch:
> 
> https://michurin.github.io/xterm256-color-picker/
> https://colors.sh/
> https://robotmoon.com/bash-prompt-generator/

Handy, thanks.

I've used https://github.com/termstandard/colors as a
reference in the past as well.  It's not at all what Patrick
was looking for, but it provides a decent amount of details
about colors which can be helpful.

For 256-color terminals, you can print them all out easily
via any number of quick commands/script, e.g:

https://misc.flogisoft.com/bash/tip_colors_and_formatting#colors2

For truecolor terminals, printing all 16 million colors is
not useful, other than as a test of how well your terminal
scrolls, perhaps ;).

Recent Fedora releases set ANSI_COLOR in /etc/os-release as
well.  I don't know if other distributions do that (I don't
think Debian Stable does).  If that becomes standard
practice, it _might_ be handy for distinguishing each
distribution you run.  Though I imagine more people run
multiple instances of the same distribution than one of
each.

-- 
Todd

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux