And you would get your terminal to print in colour by escaping the instruction with \33[ and ending it with an m. "1" means bold, "1 31" means bold and red. The second and third part are the colour and the background color:Įach part can be omitted, assuming starting on the left. The first part before the semicolon represents the text style. The code consists of three parts: 40 33 01 If you want your prompt to feature colours, you can use bash's colour codes to do it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |