Adding colors to a script
Hi,
I am trying to change foreground and background for my script in BASH.
But for some reason it's not working from the script.
Here is the code I am using and it works from the command line:
$( export PS1="\e[44;37m\w> \e[0m")
I have tried the following, still no luck!!
echo -e "\e[32;40m\w> \e[0m"
Your help will be appreciated!!
|