Customizing the shell prompt causes some quirks
You didn't close the brackets for the first escape, and add the escape for the second

export PS1="\u:\[\e[32;1;32m\]\W\[\e[m\] \$ "
#---------------------------^^--^^