I've been having this issue since 10.9.
- cd into a reasonably long path, e.g.,
cd /Volumes/Storage/backup/long/path
- Enter a moderately long command, e.g.,
curl -X GET http://localhost:8888
- ctrl+R, type
curl
- ctrl+E
The command displayed is shifted to far to the left and leaving whitespace to the right like so:
Is this a known bug or is it just me?
bash
?zsh
? And to answer the second part of your question: it's not happening for mezsh
5.0.7 using the latest iTerm2 on 10.10.2. Edit starts at the end of the command as expected.bash
3.2.53 and the latest iTerm2.bash
3.2.57 is working as expected for me, here. It puts the cursor one character beyond the last character in the line every time.zsh
, and I'm quite happy with it!