my iterm2 can only use basic colors.. I had tried the following 2 tricks but neither of them worked:
any other suggestions? Thx
Download the solarized
color scheme from Here
Import to your profile then Load Preset
select dark background
or light background
.
I only have a basic color setup for command line prompts, see following picture.
If you want more fancy setups, have a look at this page Bash prompt Or checkout Zsh schemes oh-my-zsh
Following is the section related to my command prompt in my .bash_profile file. I am also using Solarized color scheme for my iTerm2, keep that in mind.
BLACK='\e[0;30m'
BLUE='\e0;34m'
BROWN='\e[0;33m'
CYAN='\e[0;36m'
DARKGRAY='\e[1;30m'
GRAY='\e[0;37m'
GREEN='\e[32m'
LIGHTBLUE='\e[1;34m'
LIGHTCYAN='\e[1;36m'
LIGHTGRAY='\e[0;37m'
LIGHTGREEN='\e[1;32m'
LIGHTPURPLE='\e[1;35m'
LIGHTRED='\e[1;31m'
PURPLE='\e[0;35'
RED='\e[0;31m'
YELLOW='\e[1;33m'
NC='\e[m'
PS1="\`if [[ \$EUID -eq 0 ]]; then PCT='\[$LIGHTRED\]';
else PCT='\[$LIGHTCYAN\]'; fi;
echo '\[$NC\]['\$PCT'\u\[$YELLOW\]@\[$GREEN\]\h:\w\[$NC\]]\[$GRAY\] : \[$NC\]'\`"