jeremyFreeAgent / oh-my-zsh-powerline-theme

oh-my-zsh Powerline style Theme
1.2k stars 254 forks source link

Repeat character after tab-complete / expansion #41

Closed gabrielfreiberg closed 8 years ago

gabrielfreiberg commented 9 years ago

repeat_character

After a tab-complete, a repeat character shows up, and other weird behavior happens at the text prompt. I've tried suggestions online saying to add the following to the top of my .zshrc:

export LC_ALL="en_US.UTF-8"
export LANG="en_US.UTF-8"
export TERM="xterm-256color"

Do you have any fixes for this? I'm on OSX using iTerm2, also using the powerline-fonts.

mixedCase commented 9 years ago

Can reproduce. Doesn't happen with earlier versions.

mixedCase commented 9 years ago

In the meantime remove the line ZLE_RPROMPT_INDENT=0 from the file powerline.zsh-theme

This fixes it for me.

gabrielfreiberg commented 9 years ago

Wow, that fixes it for me too! Nicely done @mixedCase .. how'd you figure it out?

mixedCase commented 9 years ago

There's only one commit in 2015, the previous one being from 2013.

It's the first env var in the commit and it's used by shell, so... first thing I tried, hahaha.

piyueh commented 9 years ago

I can also reproduce this. And commenting out ZLE_RPROMPT_INDENT=0 also resolved the problem for me.

armandabric commented 9 years ago

I have the problem on my new computer. And removing ZLE_RPROMPT_INDENT=0 also resolve the problem. :scream:

Thanks @mixedCase!

idoo commented 9 years ago

@mixedCase thank you!

idoo commented 9 years ago

https://github.com/jeremyFreeAgent/oh-my-zsh-powerline-theme/pull/45

jeremyFreeAgent commented 8 years ago

After reading some blogpost, we are not the only one to have that issue. Currently, we should keep the white space at the right.