Zsh-autocomplete: zsh: do you wish to see all 3121 possibilities (3121 lines)?

Created on 5 May 2020  路  7Comments  路  Source: marlonrichert/zsh-autocomplete

As soon as I type there is a message zsh: do you wish to see all 3121 possibilities (3121 lines)?. Perhaps this is set from Oh-my-zsh. It causes problems because it eats keystrokes when typing. Is there a way to disable it?

Most helpful comment

I think this should go away if you make sure to pull the latest version and then call compinit before you source the script.

Also, make sure you follow the instructions about the order in which to load plugins. This is tricky with oh-my-zsh, so I had to split them into two groups and then alter oh-my-zsh.sh to load everything in the right sequence.

All 7 comments

I think this should go away if you make sure to pull the latest version and then call compinit before you source the script.

Also, make sure you follow the instructions about the order in which to load plugins. This is tricky with oh-my-zsh, so I had to split them into two groups and then alter oh-my-zsh.sh to load everything in the right sequence.

I'm working on making this easier. I'll push an update soon.

@CallumHoward I updated the code. Can you test if it resolves the issue for you?

This should be resolved now. Please read the updated installation instructions: https://github.com/marlonrichert/zsh-autocomplete/blob/master/README.md#installation

I will close this issue now. Let me know if it needs to be reopened.

Hi, sorry for slow response, been pretty busy. I'll try this tonight.

Also, make sure you follow the instructions about the order in which to load plugins. This is tricky with oh-my-zsh, so I had to split them into two groups and then alter oh-my-zsh.sh to load everything in the right sequence.

This should not be necessary anymore because of the changes I made for #1.

I pulled the latest master but it still didn't work so I commented everything in my config to find the culprit. Here it is:

# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

This gets added when you install Node Version Manager, it seems to load some completion scripts which cause the problem. My solution will be to comment out the last line here. Thanks for a cool plugin!

Was this page helpful?
0 / 5 - 0 ratings