When I print "\[\e[34m\]sometext" I get some text in blue, but can I specify the shade of blue somewhere?
When I print "\[\e[34m\]sometext" I get some text in blue, but can I specify
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’re using an ANSI escape sequence, which has very limited color options. I use an .Xdefaults file (explained in this tutorial). These options won’t make your shell prompt all colorful, but is used by editors such as vim.
Be aware that .Xdefaults can be picky about UNIX (CR) vs Windows (CRLF) line endings. Use d2u or u2d to switch line endings as necessary.