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

Is this project dead? #725

Open
jottr opened this issue Dec 8, 2020 · 22 comments
Open

Is this project dead? #725

jottr opened this issue Dec 8, 2020 · 22 comments

Comments

@jottr
Copy link

jottr commented Dec 8, 2020

Title says it all.
There's a number of open pull-requests that have been waiting for review for months.
The last PR was merged in 2019.

@pPrecel
Copy link

pPrecel commented Dec 11, 2020

Have you any alternatives for the antigen? 😆

@GeorgesAlkhouri
Copy link

Prezto looks good 🤷‍♂️

@dakky
Copy link

dakky commented Dec 31, 2020

an "official" statement would be nice. there are some issues which are already fixed with some PRs, but nochting happens to merge them :(

@marlonrichert
Copy link

marlonrichert commented Jan 19, 2021

Have you any alternatives for the antigen? 😆

Yes, I do: Try Znap. It's a very light-weight plugin manager that's also very fast and has a simple syntax. It can reduce your time to prompt to ~40ms with just one command. 🙂

@FranklinYu
Copy link

I have heard some good word about Zinit and going to try it out.

@voltechs
Copy link

voltechs commented Feb 27, 2021

Prezto looks good 🤷‍♂️

Prezto looks bloated 😛

I have heard some good word about Zinit and going to try it out.

Thanks for the tip. Zinit looks kinda confusing at first glance, but I'll take a look. zplug looks compelling as well.

@hoyacom
Copy link

hoyacom commented Sep 28, 2021

How about https://github.com/zpm-zsh

RossBarnie pushed a commit to RossBarnie/dotfiles that referenced this issue May 23, 2022
Antigen is largely abandoned, unfortunately. See
zsh-users/antigen#725.
@jasonm23
Copy link

10 months since !$... any word on the defacto Zsh init manager?

@marlonrichert
Copy link

There has been some talk on the official Zsh mailing list about an official plugin manager (even as far back as 2016), but nothing came from that.

Technically, one doesn’t need any 3rd-party tool to manage plugins. To install a plugin, all you need is to git clone its repo and then source it in your .zshrc file. Whenever you want to update, just run git pull.

One problem with plugins is that many are poorly written and slow down your shell’s startup time. The “proper” solution would be to contribute patches to these plugins to optimize them. However, there appear to be preciously few people who can actually write proper Zsh code. 😅

@voltechs
Copy link

Sounds like a Zsh plugin writing guide from those that know for those that don't, could be useful to the community as far as writing efficient plugins.

git cloning is a tad of a bummer/overkill as far as plugin management goes IMHO. I love how lightweight antigen is in terms of managing plugins; it's a bummer this project has lapsed in maintenance. I find others to be a bit too heavy handed or cumbersome. Even slow, at times, speaking of efficiencies.

@marlonrichert
Copy link

@voltechs Have you tried my plugin manager Znap yet? It tries to be fast, light-weight and uncomplicated.

@voltechs
Copy link

@voltechs Have you tried my plugin manager Znap yet? It tries to be fast, light-weight and uncomplicated.

Hi @marlonrichert, I have not checked it out yet. I'll take a peek here at some point. Thanks!

@mattmc3
Copy link

mattmc3 commented Aug 5, 2022

I might as well also throw a plug out there for my Zsh plugin manager - antidote. Antidote specifically aims to be the successor to antigen (I think of it as antigen's grandchild). It is based off antibody (deprecated), which in turn was also based off antigen (which now also seems to be deprecated). It uses the same terminology as antigen, and many of the same commands (bundle, etc). It also goes a step further and generates a static plugin file which makes loading plugins blazing fast. Antigen users should feel right at home, and get quite the speedup as well.

@jasonm23
Copy link

jasonm23 commented Aug 5, 2022

Thanks for the update @mattmc3. I will definitely give it a try and post feedback here.

I'm looking for something like this, with close to zero re-conf from Antigen.

@jasonm23
Copy link

jasonm23 commented Aug 5, 2022

@mattmc3 - looks good, docs and presentation wise.

I'm going to work over the errors but will bail on the rabbit hole in about 15 mins.

I expect the issue is no equivalence of antign use ohmyzsh

@mattmc3
Copy link

mattmc3 commented Aug 5, 2022

@jasonm23 - Yes, similar to its parent project antibody, antidote does not implement antigen's use command. However, it's on the roadmap since it's so handy. But for now, this works just fine:

# for dynamically loading plugins
source <(antidote init)
antidote bundle 'ohmyzsh/ohmyzsh path:plugins/colored-man-pages'
antidote bundle 'ohmyzsh/ohmyzsh path:plugins/magic-enter'
antidote bundle 'ohmyzsh/ohmyzsh path:plugins/extract'

@jasonm23
Copy link

jasonm23 commented Aug 5, 2022

Unfortuntely this is a show stopper.

antidote bundle ohmyzsh/ohmyzsh path:plugins/aws
# antidote cloning path:plugins/aws...
fatal: unable to access 'https://github.com/path:plugins/aws/': The requested URL returned error: 400
antidote: error: failed to bundle: /Users/jason/Library/Caches/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-path-COLON-plugins-SLASH-aws: no such file or directory
fpath+=( /Users/jason/Library/Caches/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-ohmyzsh-SLASH-ohmyzsh )
source /Users/jason/Library/Caches/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-ohmyzsh-SLASH-ohmyzsh/oh-my-zsh.sh

@mattmc3
Copy link

mattmc3 commented Aug 5, 2022

@jasonm23 - use quotes, per this comment. Also, if you're coming from antigen, I assume you'll want to start by putting antidote in dynamic mode with source <(antidote init). Otherwise antidote will behave like you intend to write to a .zsh_plugins.txt file for static (blazing fast) sourcing and just output fpath and source statements rather than executing them.

source <(antidote init)
antidote bundle 'ohmyzsh/ohmyzsh path:plugins/aws'

If you have further issues, feel free to open a bug report here: https://github.com/mattmc3/antidote/issues

@jasonm23
Copy link

jasonm23 commented Aug 5, 2022

@mattmc3 thanks for the assist. I'd also like to use platform specific loading, I assume I would still need to use..

if [[ `uname -a` =~ "Darwin" ]]; then
  antidote bundle 'ohmyzsh/ohmyzsh path:plugins/macos'
  antidote bundle 'ohmyzsh/ohmyzsh path:plugins/xcode'
  antidote bundle 'ohmyzsh/ohmyzsh path:plugins/brew'
fi

@jasonm23
Copy link

jasonm23 commented Aug 5, 2022

Ok! That was relatively painless and performance is good. I do some ssh-agent checking on load, which I should cache anyway.

Thank you, @mattmc3, this is a good alternative to antigen.

If I could have one ask, it's that there are migration instructions (at least linked) in the README.md and on https://getantidote.github.io/usage

@mattmc3
Copy link

mattmc3 commented Aug 10, 2022

Migration docs now available here: https://getantidote.github.io/migrating-from-antigen

@jasonm23
Copy link

Excellent job. Thank you @mattmc3

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

10 participants