You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A line should appear with the path to the `$ZSH_CACHE_DIR/completions` folder. If not, you should also add this directory to `$fpath` in your .zshrc file.
385
+
386
+
Here's what you should add to your .zshrc file to fix this, before any lines loading Oh My Zsh or its plugins:
387
+
388
+
```zsh
389
+
ZSH_CACHE_DIR="$HOME/.cache/oh-my-zsh"# or any other directory you want
390
+
mkdir -p "$ZSH_CACHE_DIR/completions"
391
+
fpath=("$ZSH_CACHE_DIR/completions"$fpath)
392
+
```
393
+
394
+
After that everything should work again.
377
395
378
396
> [!NOTE]
379
397
> This is a workaround when using plugin managers. Ideally we want to make this so that it works out of the box with any plugin manager you use. If you encounter an issue related to this, please +1 Feature Request [#12583](https://github.com/ohmyzsh/ohmyzsh/issues/12583) and add a comment with the plugin manager affected if not already in the list.
0 commit comments