Custom Bash prompt is overwriting itself
1) I would like to know why it is overwriting my prompt Because every non-printable characters have to be escaped by \[ and \] otherwise readline cannot keep track of the cursor position correctly. You must put \[ and \] around any non-printing escape sequences in your prompt. Without the \[ \] bash will think … Read more