1
0
Fork 0
mirror of synced 2024-11-21 23:25:33 -05:00

Mention skip_global_compinit=1

Eric Nielsen 2024-10-02 09:23:26 -05:00
parent 6f06d15500
commit 4763293c29

@ -4,6 +4,12 @@ If you are using the `completion` module, there can be a conflict if other scrip
In case you're getting a "warning: compinit being called again after completion module at .../modules/completion/init.zsh" mentioning Zim's completion module, then possibly this means your `${ZIM_HOME}/init.zsh script` in being sourced twice. Double check your `~/.zshrc` file.
If you use Ubuntu and installed Zsh with apt, then add the following line to your `~/.zshenv` file:
```zsh
skip_global_compinit=1
```
In case you're getting a "warning: compinit being called again after completion module at ..." message in the terminal, mentioning another script, then remove the `compinit` call from the mentioned file.
In case you're getting a "warning: completion was already initialized before completion module." message in the terminal, then follow
@ -33,4 +39,4 @@ these steps to check further:
5. If there's another "compinit being called at ..." message, then repeat steps 3-4 .
6. Remove the lines added to `~/.zshenv` by the first step.
6. Remove the lines added to `~/.zshenv` in the first step.