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