| ||||||||
Navigation
Traduction Menu de la version anglaise
Click here to expand or collapse... Every You, Every Me (Youtube release)
Upcoming BL Series (Start date) Click here to expand or collapse... Top Form (Thu 20 Mar 2025)
Click here to expand or collapse... Art Of Love (OFFLINE)
Beautiful Scars (Episode 4 finale OFFLINE)
Boyband (No International release)
Friend Forever/Our Love Is Sick (OFFLINE)
Great Men Academy (OFFLINE)
Healing Thingyan (OFFLINE)
Hehe & He (Season 3 - on hiatus)
Hook Up (Season 2) (OFFLINE)
If I Love A Boy (OFFLINE)
Indigo (OFFLINE)
Jack And Jill (OFFLINE)
Lakan (OFFLINE)
Make A Wish [Philippines] (OFFLINE)
Make A Wish [Thailand] (No International release)
Missing Piece (OFFLINE)
My Secret Love (OFFLINE)
Quaranthings (OFFLINE)
Roommate (Season 1 OFFLINE)
Sugar Dog Life (No International release)
Truly Very Yours (Season 1) (OFFLINE)
Unguarded (Season 3) (OFFLINE)
Venus In The Sky (Youtube release)
Click here to expand or collapse...Click here to expand or collapse... Destined/Fated (OFFLINE)
Infinity (OFFLINE)
Kiss The Night (OFFLINE)
Overlooked Love (OFFLINE)
The Next Door Crush (OFFLINE)
The Whisperer (EP10 Finale never released)
Unexpected (OFFLINE)
Click here to expand or collapse... = Cambodia = China = Hong Kong = India |
Customize Shell PromptBash does support colors in the prompt. If you used the prompt I showed earlier you know that. Now how you can do it. Place this symbol in front of the section you want to colonize. \[\033[Xm\]. Replace the "X" with the number of the color you want.Example: PS1="\[\033[31m\][\u@\h]\[\033[0m\]>" The translation the computer does is this:
So basically you have told the computer all text from here to be red. After that you have told the computer to place the username and hostname in the prompt. Now return the display to a normal setting. This is important because forgetting to tell it to go back to normal means everything will be red, or worse whatever your last color command is. The point being when you are done make sure you tell it to return to normal.
PS1="\[\033[31m\][\u@\[\033[1;33m\]\h]\]\033[0m\]>" PS1="red text[whoami@ yellow text hostname] normal display>
Cette première ligne n'est pas une liste
Cette première ligne n'est pas une liste
| |||||||
View
Edit
History
Attach
Print
Page last modified on September 10, 2011, at 10:40 AM |