Mention skip_global_compinit=1
parent
6f06d15500
commit
4763293c29
1 changed files with 7 additions and 1 deletions
|
@ -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.
|
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: 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
|
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 .
|
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.
|
||||||
|
|
Loading…
Reference in a new issue