Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird issue with tab completion #26

Closed
mhartington opened this issue Jan 15, 2015 · 7 comments
Closed

Weird issue with tab completion #26

mhartington opened this issue Jan 15, 2015 · 7 comments

Comments

@mhartington
Copy link

I'm getting this odd issue with tab completion
When I try to do any tab completion, I get this odd double text effect with what ever I have in the prompt.

Video of whats happening, this demos the issue better than me trying to explain it.
http://youtu.be/4CUcncXNEic

Here's my prompt for zsh

https://github.com/mhartington/dotfiles/blob/master/prompt

I removed the prompt theme form my shell and tab completion does work as expect.

@edkolev
Copy link
Owner

edkolev commented Jan 17, 2015

Oh, that's bizarre :)

However, I can't reproduce this with zsh and your prompt. Could you try to disable some zsh features? Maybe remove these lines https://github.com/mhartington/dotfiles/blob/master/zshrc#L1 https://github.com/mhartington/dotfiles/blob/master/zshrc#L37 and see if any of them is causing the clash. Finally, please try with an empty zshrc.

@mhartington
Copy link
Author

Seemed to do the trick 👍 Thanks a lot

@ljrk0
Copy link

ljrk0 commented Apr 23, 2015

Can you tell me which lines you removed? Sadly the links are dynamic and I doubt removing comments helped the issue ;-)

@mhartington
Copy link
Author

For my issue, I removed this line source /Users/mhartington/.iterm2_shell_integration.zsh, and this ZLE_RPROMPT_INDENT=0

@ljrk0
Copy link

ljrk0 commented Apr 23, 2015

Hm, yep found the lines already (see referenced issue) but I only had the latter line which I did remove.

So I just tried with a clean .zshrc and it won't work either sadly :/

@bzar
Copy link

bzar commented Jun 26, 2015

Removing ZLE_RPROMPT_INDENT=0 worked for me, but now the right prompt has that annoying one-space indent.

@jda0
Copy link

jda0 commented Sep 13, 2017

I have this issue with bash under WSL!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants