macos x terminal cursor is 1 posisiton righter then it should be
"1 position righter then it should be" is a matter of opinion :-) I believe the cursor is right where it should be. But either way, this is determined by the PS1 environment variable (assuming you're using the default bash shell)

You'll want to set PS1 to not have a training space on the end of it. The exact command will depend on what your PS1 is currently. The following should get you there:

echo $PS1


Will show you what PS1 currently is. Copy that value, then execute:

export PS1="&lt;paste value&gt;"


Pasting the value you copied in place of &lt;paste value&gt;. Be sure to not have a training space. So in my case, I did:

export PS1="\h:\W \u\$"


To make this stick, add the export PS1 line to your .bashrc file with a text editor.