Zsh Mailing List Archive
Messages sorted by:
"Plugin architecture" demistified
- X-seq: zsh-users 21546
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: "Plugin architecture" demistified
- Date: Tue, 10 May 2016 20:35:58 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=8hrHNLFWm9R7jcSLxICe0y4zM9kM9NhJUAC7VAed9EY=; b=Sgg0qKDZCsEWy3jy1kVbIcTt7HPGXBYFCmkdBvgjMTm6cdgfxYGotcLxlcpVDmApGQ P+RVALHHYlem6sYiace/QbPTL+c+Qcy5v+YnCRjorGNE/gLPwrtEHwHIqjrK1ch8hzNt SpzYVya4dUGl5knZBePwzsyVt0uMJbirQXYd7MiocIvw+/qIdW67WbN1LhYJXTOMpwzd pRiokKa971s0/GcTeoJmUg2t8hXoFMzzB5nrx/bpNa1d/Wpn55XHsRF01XmEsHcn7ecp M225bMqw+aTKiKgCy6w43Ebx9el8xlmtPMslQ7wxdh4cUX0FNA/mnPQiZOzTjx8wQQqM B5Wg==
- List-help: <mailto:firstname.lastname@example.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:email@example.com>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
after working around various plugins I recognized the whole topic and
want to share.
1. "Plugin architecture" is empty
Here I added code that allows to directly source a plugin file:
It does exactly what plugin managers do: add to fpath, then follow to
execute the file. So, no plugin manager is needed for this. Just
source the file and that's it.
2. There is no big demand for plugins
I've tested 50 plugins from awesome-zsh-plugins site. 98% of them are
ABS code of poor quality and do not provide robustly covered use
cases. It's that fresh Zsh users write something for themselves, use
it with success, share, and don't cover edge cases and wider use
cases. This way it is hard to rely on the software. It's an actual
work to cover edge cases, from practice I know it requires months of
various activity. Writing a nice script requires hours.
This might change in the future, maybe a developer base will arise
from awesome-zsh-plugins and other associated things, and the code
will get better.
Seeing the mailing lists being quiet about the changes in Zsh world
made by plugin managers I was slightly puzzled. I wrote about users
"demanding" plugins. Explained the plugin architecture. Now I see it
was all correct that mlas were quiet, as there are no actual changes.
But it wasn't easy to become aware of that. The 1st conclusion, how
easy it is, however, it took me 9 months to establish it.
Messages sorted by: