C-a moves point to just after the prompt:
andreas@my-computer:~/some/folder $ #here
but occasionally something happens and
C-a starts to the beginning of line:
I have no idea why this happens, and the only way I've been able to fix it is to restart Emacs. How can I revert
C-a to the normal behavior of moving to the point after the prompt?