Quote:
Originally Posted by n179911
Hi,
I have a xterm which can have 256 colors.
How can I configure the prompt colors and ls output colors to take advantages of the 256 color values?
Thank you.
|
or
set
prompt colours are something else. you need to set the shell prompt for that. an example being a bash shell prompt.
mine looks like
Code:
# custom prompt
export PS1='\[\e[0;31m\]\u@\h/\[\e[1;36m\]\w\[\e[1;31m\]\$\[\e[0m\] '
which is set in my .bash_profile
list of colours for shell prompt
Code:
List of Color code
Color Code
Black 0;30
Blue 0;34
Green 0;32
Cyan 0;36
Red 0;31
Purple 0;35
Brown 0;33
Blue 0;34
Green 0;32
Cyan 0;36
Red 0;31
Purple 0;35
Brown 0;33