Re: more distinct default bash prompt?

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

 



I love the idea of a colorized prompt by default on Fedora!

A few points to the posted example:

- Let's keep it somewhat identical to the existing one unless a change is really important
- Let's leave out the RC code from the prompt - that can be useful in certain scenarios, but is distracting/annoying most of the time
- Keep the path part of the prompt a different color

Something like this perhaps, which is close to the current prompt, only with the addition of useful colors. I personally like the default colors here too, because they work well:

PROMPT_COLOR=""
PROMPT_PATH_COLOR=""
PS1="[\[\e[${PROMPT_COLOR:-1;32}m\]\u@\h\[\e[0m\] \[\e[${PROMPT_PATH_COLOR:-1;34}m\]\w\[\e[0m\]]\$ "

Cheers
_______________________________________________
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