zsh-autocomplete icon indicating copy to clipboard operation
zsh-autocomplete copied to clipboard

Better defaults to avoid "do you wish to see all XXX possibilities"

Open Floriferous opened this issue 8 months ago • 4 comments

What do you want?

I recently started using this plugin, and I regularly hit "do you wish to see all XXX possibilities". It took me some time to actually understand why what I was typing was sometimes missing a letter:

Example of trying to type clear in my terminal:

# What I type on my keyboard
c -> do you wish to XX..
l -> eaten by the prompt
e -> 
a ->
r ->
enter -> command not found: cear

Now I'm looking through forums on how to potentially disable this "do you wish" thing, and honestly it's not even clear how to do it, so I ended up entirely removing this plugin.

I fail to understand how this is the default, expected, behavior, as it makes typing quickly impossible, because you will regularly have the 2nd character you type be ignored and swallowed by this interruption.

I would recommend to find a better default for this thing, as it makes the initial experience of this plugin terrible.

Maybe I didn't set it up right, or maybe I made another mistake somehow? Or maybe this issue is not related to this plugin?

Floriferous avatar Mar 17 '25 10:03 Floriferous

yeah just doing a git command right now soon as I hit "g" I get zsh: do you wish to see all 168 possibilities (16 lines)? and its eating my letters.

Autocomplete has become AutoEat. g··· ᗧ···I··t··ᗣ···ᗣ·· (wakka wakka wakka)

setopt interactivecomments seems to help.

cybercussion avatar Apr 24 '25 14:04 cybercussion

@cybercussion @Floriferous Does this help? Had to search a lot:

https://github.com/marlonrichert/zsh-autocomplete/issues/654#issuecomment-2860673831

KevinFocke avatar May 07 '25 23:05 KevinFocke

Is this a recent development? I use zsh on my work mac which doesn't have this issue. But I face this issue in my personal mac.

Also if I type a characeter (e.g: 'n') in iterm it doesn't show me this message but if I type 'n' in vscode's integrated terminal it triggers this message

j-a-h-i-r avatar May 09 '25 19:05 j-a-h-i-r

thanks @KevinFocke I'll give that a shot too, beats the hammer I used.

cybercussion avatar May 09 '25 22:05 cybercussion

I fail to understand how this is the default, expected, behavior

It's not expected behavior. 🙂

marlonrichert avatar Jul 03 '25 09:07 marlonrichert