mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
46 lines
1.3 KiB
Markdown
46 lines
1.3 KiB
Markdown
# Antigen
|
|
|
|
## Table of contents <!-- omit in toc -->
|
|
|
|
1. [Troubleshooting](#troubleshooting)
|
|
1. [While loading, a completion fails with error `No such file or directory`.](#while-loading-a-completion-fails-with-error-no-such-file-or-directory)
|
|
1. [Further readings](#further-readings)
|
|
1. [Sources](#sources)
|
|
|
|
## Troubleshooting
|
|
|
|
### While loading, a completion fails with error `No such file or directory`.
|
|
|
|
Example:
|
|
|
|
```sh
|
|
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:
|
|
|
|
```sh
|
|
mkdir -p $ZSH_CACHE_DIR/completions
|
|
antigen apply
|
|
```
|
|
|
|
## Further readings
|
|
|
|
- [Github]'s repository
|
|
- Antigen's [Wiki]
|
|
|
|
## Sources
|
|
|
|
All the references in the [further readings] section, plus the following:
|
|
|
|
<!-- upstream -->
|
|
[github]: https://github.com/zsh-users/antigen
|
|
[wiki]: https://github.com/zsh-users/antigen/wiki
|
|
|
|
<!-- in-article references -->
|
|
[further readings]: #further-readings
|
|
|
|
<!-- internal references -->
|
|
<!-- external references -->
|