Files
oam/knowledge base/antigen.md
2023-05-25 23:55:23 +02:00

1.3 KiB

Antigen

Table of contents

  1. Troubleshooting
    1. While loading, a completion fails with error No such file or directory.
  2. Further readings
  3. Sources

Troubleshooting

While loading, a completion fails with error No such file or directory.

Example:

tee: /Users/user/.antigen/bundles/robbyrussell/oh-my-zsh/cache//completions/_helm: No such file or directory
/Users/user/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/helm/helm.plugin.zsh:source:9: no such file or directory: /Users/user/.antigen/bundles/robbyrussell/oh-my-zsh/cache//completions/_helm

The issue is due of the $ZSH_CACHE_DIR/completions being missing and tee not creating it on Mac OS X. Create the missing completions directory and re-run antigen:

mkdir -p $ZSH_CACHE_DIR/completions
antigen apply

Further readings

Sources

All the references in the further readings section, plus the following: