Un prompt sympa tiré de http://voidandany.free.fr/index.php/quelques-prompts-glannes-sur-le-web/

PS1="[\0330;33m][\!\`if [ \$? = "0" ]; then echo "\[\\03332m]"; else echo "[\\033[31m]"; fi\`[\u.\h: \`if [[ `pwd]; then echo "\\W"; else echo "\\w"; fi\`]\$[\0330m] "; echo -ne "\0330;`hostname -s`:`pwd`\007"