git-prompt.zsh
git-prompt.zsh copied to clipboard
Prompt cursor moved to the left
This problem is similar to https://github.com/woefe/git-prompt.zsh/issues/8
But tmux is not necessary. This happens when I SSH into a Raspberry PI.
When I let the git status show in RPROMPT, and it shows a unicode character, the prompt cursor is moved two steps to the left, so that it overlaps the left prompt.
Workaround is to replace the unicode characters with ordinary characters.
Thanks for bringing it up! Now with the Pi we should have a more reproducible base to troubleshoot. Which versions of the OS, zsh, and git are you using on your Pi?
I set up Raspbian in VirtualBox and loaded the rprompt example, but I still cannot reproduce it :disappointed:
FWIW - I just had this exact issue pop up on a fresh Arch installation. Turned out I had set my locale
incorrectly and it needed to be something that was UTF-8 compliant
More info can be found here https://wiki.archlinux.org/index.php/Locale
Closing, because I could not reproduce, and no activity on the issue since a long time.