What is wrong with my PS1 ?
export PS1='\[\033[01;34m\]\w \n\[\e[0;32m\$\e[m \]'
When I run it i get the following multi line bash prompt.
~
$
But then If i try to go up in history using "Up Arrow" things go messy for example I can edit parts that shouldn not be editable ie. writing asd in front of "$" is possible.
~
$ echo hiii
hiii
~
$ echo hiii2
~
*asd*$ echo hiii #(By Going back in history using Up Arrow)
Or If I go 5 times or more back with up arrow, than "$" disappears completely like the following
~
echo hii # (This should be "$ echo hii" )