antigen: Unable to load oh-my-zsh plugin
I cannot load the kubectl plugin since latest update (either of antigen or oh-my-zsh). I’m using antigen 2.2.1. It worked on the first 2.X versions, but recently it stopped working. I guess it has something to do with how the plugin itself is loaded:
.zshrc:
source antigen.zsh
antigen init .antigenrc
.antigenrc:
antigen use oh-my-zsh
antigen bundles <<EOBUNDLES
kubectl
EOBUNDLES
antigen apply
Then try the kubectl completion, it doesn’t work for me. I also tested removing ~/.zcompdump* files. antigen list shows:
robbyrussell/oh-my-zsh ~ lib @ master robbyrussell/oh-my-zsh ~ plugins/kubectl @ master
If I remove the plugin from the bundles list and instead load it later with antigen bundle kubectl it works.
About this issue
- Original URL
- State: open
- Created 7 years ago
- Reactions: 9
- Comments: 23 (4 by maintainers)
Commits related to this issue
- Fix https://github.com/zsh-users/antigen/issues/583. Generate cache if necessary. — committed to seagle0128/dotfiles by seagle0128 6 years ago
- Revert "Fix https://github.com/zsh-users/antigen/issues/583. Generate cache if necessary." This reverts commit 7b18a7020167bb277ddcb37de6f9eafb76c8d5da. — committed to seagle0128/dotfiles by seagle0128 6 years ago
- Pinned Antigen version Pinned the Antigen version to the 2.0.2 release. Later versions suffer from the following bug: https://github.com/zsh-users/antigen/issues/583 — committed to gantsign/ansible_role_antigen by freemanjp 6 years ago
- Pinned Antigen version Pinned the Antigen version to the 2.0.2 release. Later versions suffer from the following bug: https://github.com/zsh-users/antigen/issues/583 — committed to gantsign/ansible_role_antigen by freemanjp 6 years ago
- Pinned Antigen version Pinned the Antigen version to the 2.0.2 release. Later versions suffer from the following bug: https://github.com/zsh-users/antigen/issues/583 — committed to gantsign/ansible_role_antigen by freemanjp 6 years ago
- Pinned Antigen version Pinned the Antigen version to the 2.0.2 release. Later versions suffer from the following bug: https://github.com/zsh-users/antigen/issues/583 — committed to gantsign/ansible_role_antigen by freemanjp 6 years ago
- Pinned Antigen version Pinned the Antigen version to the 2.0.2 release. Later versions suffer from the following bug: https://github.com/zsh-users/antigen/issues/583 — committed to gantsign/ansible_role_antigen by freemanjp 6 years ago
- Pinned Antigen version Pinned the Antigen version to the 2.0.2 release. Later versions suffer from the following bug: https://github.com/zsh-users/antigen/issues/583 — committed to gantsign/ansible_role_antigen by freemanjp 6 years ago
- Pinned Antigen version (#6) Pinned the Antigen version to the 2.0.2 release. Later versions suffer from the following bug: https://github.com/zsh-users/antigen/issues/583 — committed to gantsign/ansible_role_antigen by freemanjp 6 years ago
I have the same issue as @jaimehrubiks with aws and gcloud oh-my-zsh plugin. I’m running this on OSX (zsh 5.7.1, Antigen v2.2.2).
EDIT: Upgrade to v.2.2.3 and zsh 5.8 does not help.
Not working in 2.2.2, and as @nmaupu says, workaround does not work either if run from .zshrc or .antigenrc, it only works manually executing it once logged-in
Still not working in 2.2.3. I guess it may be related to cache mechanism.
looks like helm plugin is also not working 😦
golangofoh-my-zshplugin doesn’t work withantigenon Ubuntu 16.04 LTS.This bug also affects
awsplugin ofoh-my-zsh.tmuxinator not working…
It’s fixing the issue if I source the file while in a zsh shell. If I source it from the
~/.zshrcfile, it doesn’t do anything… I can’t figure out why …I’m on vacations right now but in a week I can work on the issue.
@aserrallerios tested your workaround for the ubuntu plugin and it seems to works . Thanks
My ugly workaround:
In your
.zshrc, afterantigen applyorantigen init:@aserrallerios I did that and did
antigen resetbut it didn’t do anything