If you're bored of the default color your Linux console or want to change the look of it checkout the following example (Ubuntu):
Edit ~/.bash.rc with:
PS1="\n\[\e[32;40m\]| \[\e[31;40m\]\H \[\e[32;20m\]\d \[\e[32;1m\]\t \[\e[1;33m\]\w\[\e[0m\]\[\e[32;40m\]\n| \[\e[37;40m\]\u\[\e[1;37m\] \\$ \[\e[32;1m\]\[\e[0m\]"
and
force_color_prompt=yes
Output:
Feel free to modify :)
-----------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment