From d613b9079448ffbc05bacfa6df59f5edfc52d235 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Wed, 20 Apr 2022 19:14:46 +0200 Subject: [PATCH] Added antigen notes to the knowledge base --- knowledge base/antigen.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 knowledge base/antigen.md diff --git a/knowledge base/antigen.md b/knowledge base/antigen.md new file mode 100644 index 0000000..6233f64 --- /dev/null +++ b/knowledge base/antigen.md @@ -0,0 +1,27 @@ +# Antigen + +## Troubleshooting + +### While loading, a completion fails with error `No such file or directory`. + +Example: + +```shell +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: + +```shell +mkdir -p $ZSH_CACHE_DIR/completions +antigen apply +``` + +## Further readings + +- [Github]'s repository +- Antigen's [Wiki] + +[github]: https://github.com/zsh-users/antigen +[wiki]: https://github.com/zsh-users/antigen/wiki