Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions how to install using antigen #7

Open
chodorowicz opened this issue May 30, 2023 · 7 comments
Open

Instructions how to install using antigen #7

chodorowicz opened this issue May 30, 2023 · 7 comments

Comments

@chodorowicz
Copy link

Do you have instructions/tips on installing this plugin with antigen zsh plugin manager?

@g-plane
Copy link
Owner

g-plane commented May 30, 2023

No, but I think it's similar to zinit/zplug so you can try it and PR is welcomed if you found how to do.

@wilhen01
Copy link

wilhen01 commented Jun 9, 2023

I've succeeded in installing it via antigen bundle g-plane/pnpm-shell-completion@main in my .zshrc file but it's not actually working 🤔

@g-plane do you have any tips on debugging? I suspect either it hasn't installed properly or it's conflicting with some other shell-completion I have installed...

@g-plane
Copy link
Owner

g-plane commented Jun 9, 2023

Is it loaded successfully?

@wilhen01
Copy link

wilhen01 commented Jun 9, 2023

Is it loaded successfully?

How can you tell? The antigen bundle command has run successfully but I'm not sure how to check if the plugin has actually loaded properly in zsh

@g-plane
Copy link
Owner

g-plane commented Jun 10, 2023

Does antigen provide any commands for debugging?

@wilhen01
Copy link

I'm not sure. I'll have to have a look when I next get some spare time...

@chodorowicz
Copy link
Author

chodorowicz commented Jul 28, 2023

So, one problem I've faced were issues compdef compinit which were not loaded.

/https-COLON--SLASH--SLASH-github.com-SLASH-g-plane-SLASH-pnpm-shell-completion/pnpm-shell-completion.plugin.zsh:91: command not found: compdef

It seems loading plugin with defer solves the issue.

# .zsh_plugins.txt
g-plane/pnpm-shell-completion kind:defer

But after that another issue I'm getting is

pnpm --filter_pnpm:17: no such file or directory: /Users/cho/Library/Caches/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-g-plane-SLASH-pnpm-shell-completion/pnpm-shell-completion

I've tried all of this with antigen successor, antidote
I guess the the magic which happens in install.zsh isn't triggered by antidote? 🤔

Anyway, I've moved to zplug and all works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants