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
Tab-completion of git makes the command move to the right #23
Comments
It has something to do with the theme. %{$fg[cyan]%} See Zsh guide: |
I was looking for a solution to that too, fixing my theme and requesting a pull right now :) Thanks :3 |
Is everything working okay for you guys now? |
Yes I think so. Commit http://github.com/To1ne/oh-my-zsh/commit/5246e103c54b7e503cb0c7a715a9d88dc5a4f0e1 schould fix all themes which were corrupt. |
somebody should close this one. |
Closing! |
When I type "git co" and press TAB to complete to "git commit" this happens:
My command line looks like this before pressing tab:
And after pressing tab:
So the command has moved to the right (the cursor is at the end of the second "git commit").
I've noticed when the space it moves to the right equals the length of the string of your theme.
So when the $PROMPT equals "" the tab-completion is correct.
The text was updated successfully, but these errors were encountered: