mirror of https://github.com/ohmyzsh/ohmyzsh.git
Move completion cache reset instructions
parent
62b5b094da
commit
a60f333ac9
10
FAQ.md
10
FAQ.md
|
@ -122,9 +122,7 @@ It might look like this in iTerm2:
|
||||||
|
|
||||||
### Completion issues
|
### Completion issues
|
||||||
|
|
||||||
#### I have enabled a completion plugin but the completion doesn't work
|
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:
|
||||||
|
|
||||||
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:
|
|
||||||
|
|
||||||
```zsh
|
```zsh
|
||||||
# Delete the completion cache
|
# Delete the completion cache
|
||||||
|
@ -133,6 +131,12 @@ rm ~/.zcompdump*
|
||||||
exec zsh
|
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.
|
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
|
#### I see duplicate typed characters after I complete a command
|
||||||
|
|
Loading…
Reference in New Issue