Even
export PS1="\[\033[G\]$PS1"I don't think exporting PS1 is a good idea. Child processes don't need it and if I launch a different shell with different PS1 semantics I get a broken prompt instead of whatever the default for that shell is.
But the first $ is wrong, it should read PS1="\[\033[G\]$PS1"