I have been configuring my .bashrc PS1 to be displayed with some nice colors and in a format that I like, however there is one thing that I cannot figure out (or know if it's even possible).
my PS1 line is as follows:
export PS1='\[\033[01;31m\]\u\[\033[01;33m\]@\[\033[01;32m\]\h\[\033[01;33m\]:\[\033[01;33m\]\w\n\[\033[01;31m\]\$ \[\033[00;32m\]'
This makes the command and command output dark green as follows:
root@sidian:~
# echo foo
foo
but I would like the command to be cyan and the command output to be dark green.
root@sidian:~
# echo foo
foo
I cannot figure out how to have the color change after a command is typed. Can anyone offer a solution?
Thanks