Dans ~/.bash_profile
, ajouter les lignes :
BLACK=$(tput setaf 0) RED=$(tput setaf 1) GREEN=$(tput setaf 2) YELLOW=$(tput setaf 3) BLUE=$(tput setaf 4) MAGENTA=$(tput setaf 5) CYAN=$(tput setaf 6) WHITE=$(tput setaf 7) PS1='${CYAN}\u@\h${WHITE} in ${GREEN}\w${WHITE}\r\n$ '