0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00

Move completion cache reset instructions

Marc Cornellà 2020-01-30 17:34:27 +01:00
parent 62b5b094da
commit a60f333ac9

10
FAQ.md

@ -122,9 +122,7 @@ It might look like this in iTerm2:
### Completion issues
#### I have enabled a completion plugin but the completion doesn't work
As of right now, after enabling or disabling a plugin that provides completion, you have to reset the cached completion file. This file is at `$ZSH_COMPDUMP` or in your home directory, named `.zcompdump-<host>-<zsh-version>`. To reset it, you have to delete it and restart your zsh session so that it is recreated again:
Most completion issues are due to an old completion cache file (also called zcompdump file). This file is at `$ZSH_COMPDUMP` or in your home directory, named `.zcompdump-<host>-<zsh-version>`. To reset it, you have to delete it and restart your zsh session so that it is recreated again:
```zsh
# Delete the completion cache
@ -133,6 +131,12 @@ rm ~/.zcompdump*
exec zsh
```
If that doesn't make the completion work, look at the other completion issue sections.
#### I have enabled a completion plugin but the completion doesn't work
As of right now, after enabling or disabling a plugin that provides completion, you have to reset the cached completion file. Follow the instructions above to delete the completion file.
If this doesn't solve the problem you might have found a bug in the plugin. Search for issues with the plugin in question, and if there isn't one already (open or closed), open a new bug report.
#### I see duplicate typed characters after I complete a command