dracula / zsh

🧛🏻‍♂️ Dark theme for ZSH
https://draculatheme.com/zsh
MIT License
267 stars 70 forks source link

When the tab key is pressed for automatic completion, the previous character is repeated #46

Closed lemontree2000 closed 2 years ago

lemontree2000 commented 2 years ago

https://user-images.githubusercontent.com/21957062/173190844-5bf9ff59-688a-47fd-9695-74a3865eb160.mov

lucasvs commented 2 years ago

This commit 350fdfeb4cf687af231150a639849dd4221d3c9a causes the issue. reverting to d7626ad9ed3fb1929082bd3d6815160d8e016247 works fine.

yungParrot commented 2 years ago

This commit 350fdfe causes the issue. reverting to d7626ad works fine.

can confirm that reverting works and solves this issue

lemontree2000 commented 2 years ago

@yungParrot @lucasvs thx , I finally solved this problem by commenting this code 😂

image
kbtombul commented 2 years ago

I don't know enough about zsh to dig deeper but here's a Unix & Linux Stack Exchange question & answer that seemed relevant: https://unix.stackexchange.com/a/85066

For the time being, I'm sticking with d7626ad as well.

cc @avalonwilliams (I'm sure you're getting the issue emails already, I'm just hoping this helps get to the solution.)

JannoTjarks commented 2 years ago

As far I understood it is a problem with the syntax of the zsh built-in function. I already tried to fix the problem, but it only works without the colors for me. The syntax of the colors adds a wrong spacing to the current line.

avalonwilliams commented 2 years ago

This should be fixed by #48, thanks to JannoTjarks, sorry for not being able to fix this sooner, I've been prepping to move to Boston so I've been very busy the past month or so.