Remove '$' prompts from commands