til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as a developer

View project on GitHub

Setting the prompt

These show the user, hostname and database.

MYSQL_PS1="(\u@\h) [\d]> "

Rendering:

(jonasbn@[local]) [mydb]>