fixed incorrect escaping of reset in the prompt
break down prompt definition for readability/editability