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

Duplicate first character on tab/paste/etc. #2

Open
szuhaydv opened this issue Feb 4, 2025 · 1 comment
Open

Duplicate first character on tab/paste/etc. #2

szuhaydv opened this issue Feb 4, 2025 · 1 comment

Comments

@szuhaydv
Copy link

szuhaydv commented Feb 4, 2025

Having an issue where on tab completions or pasting the first letter of the command that was completed or pasted in gets duplicated

Example
pasting echo $PROMPT results in eecho $PROMPT and the first character can't even be deleted, it's just permanently painted until you move on to the next command

Tried
Maybe caused by conflict with other things on my machine, but tried it with an isolated .zshrc (e.g. with roundy being the only thing sourced)

Environment
ARM64 Darwin (MacBook Air M1) with kitty terminal

@szuhaydv
Copy link
Author

szuhaydv commented Feb 4, 2025

After some digging found the recommendation to put %{ %} at the end of the prompt line, recommended in a forum thread

Based on this I ended up changing a line in the roundy.zsh file, towards the end of the roundy_prompt_left() I changed: p+="%f%{ %}" which fixed my issue

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

1 participant