Linux style MySQL Shell prompt

Just add the following to the [mysql] section in your .my.cnf file:
prompt=\u@\h [\d]>\
More about: Linux / MySQL