I have tried a few variations to get bold yellow, see below.
export PS1="\[\e[1;33m\]\w\n\h:\u >\e[0m\]\]"
For some reason, if I have a sudo command in my bash history, say sudo chmod, every command before that becomse sudo ls, sudo cd, the "sudo" parts stays. It becomes part of the cursor/PS1?
Any information appreciated. Is there a different form for the above cursor?