๐ก Wiki: meta-plugins - annexes
Simply load like a regular plugin, i.e.:
zi light z-shell/z-a-meta-plugins
After executing this command you can then install meta plugins provided by the annex.
Note
- This repository compatible with Zi
๐ An annex delivers the capability to install a group of plugins via a single, friendly label
Home Page: https://wiki.zshell.dev/ecosystem/annexes/meta-plugins
License: GNU General Public License v3.0
Simply load like a regular plugin, i.e.:
zi light z-shell/z-a-meta-plugins
After executing this command you can then install meta plugins provided by the annex.
Note
- This repository compatible with Zi
Repository outdated:
functions missing prefix (zps)
OSTYPE=linux-gnu CPUTYPE=x86_64 / MACHINE_TYPE=x86_64 ZSH_VERSION=5.9
When install the first time, completions file will be installed like this:
$ ls ~/.local/zi/completions
_afew -> ~/.local/zi/plugins/zsh-users---zsh-completions/src/_afew
_android -> ~/.local/zi/plugins/zsh-users---zsh-completions/src/_android
_archlinux-java -> ~.local/zi/plugins/zsh-users---zsh-completions/src/_archlinux-java
...
And I expect this still remain after zi update --all
For comparison:
$ ls ~/.local/zi/completions
_afew -> ~/.local/zi/plugins/zsh-users---zsh-completions/src/_afew
_android -> ~/.local/zi/plugins/zsh-users---zsh-completions/src/_android
_archlinux-java -> ~/.local/zi/plugins/zsh-users---zsh-completions/src/_archlinux-java
$ ls ~/.local/zi/completions
_afew -> ./src/_afew
_android -> ./src/_android
_archlinux-java -> ./src/_archlinux-java
Zsh will complain about those broken symlink after next reload
zi wait lucid light-mode for blockf atpull'zi creinstall -q .' zsh-users/zsh-completions
zi update --all
or
zi update zsh-users/zsh-completions
I just pust above install command to .zshrc
None
No response
OSTYPE=linux-gnu CPUTYPE=x86_64 / MACHINE_TYPE=x86_64 ZSH_VERSION=5.8.1
Completions to be correctly installed, the files found and no error messages.
Upon starting zsh, sometimes but not always, a whole lot of these show up:
compinit:503: no such file or directory: /home/.../.config/zi/completions/_afew
compinit:503: no such file or directory: /home/.../.config/zi/completions/_android
compinit:shift:505: shift count must be <= $#
compinit:503: no such file or directory: /home/.../.config/zi/completions/_archlinux-java
compinit:shift:505: shift count must be <= $#
compinit:503: no such file or directory: /home/.../.config/zi/completions/_artisan
compinit:shift:505: shift count must be <= $#
...
Running zi clist
also shows errors like:
afew, android, archlinux-java [unknown] [unknown file, clean with cclear]
And running zi cclear
will delete all the offending links:
Removing completion: afew [unknown] [unknown file]
I haven't been able to figure out why it doesn't happen all the time, but the links are always broken.
zi load @zsh-users+fast
It seems that the issue is caused by line 122 of the file z-a-meta-plugins.plugin.zsh
zsh-users/zsh-completions "$_std atpull'zi creinstall -q .' pick'/dev/null'"
In particular, the -q .
parameters cause the completions to be linked as ./src/XXXX
instead of the full path to the files in the src directory of the plugin.
Simply removing it creates functional symlinks and zi clist
does not complain any more.
No response
issue appears to be https://github.com/z-shell/z-a-meta-plugins/blob/main/z-a-meta-plugins.plugin.zsh#L115
Cloning into '/home/xeno/.zi/plugins/sbinbin---git-dsf;bin---diff-so-fancy'...
remote: Not Found
1. [meta-plugins annex] Loading meta-plugin: `z-shell' consisting of: 1) z-shellโF-Sy-H, 2) z-shellโH-S-MW, 3) z-shellโzsh-diff-so-fancy.
Downloading z-shell/F-Sy-Hโฆ
Cloning into '/home/xeno/.zi/plugins/z-shell---F-Sy-H'...
โ โโโโโโโโโโโ OBJ: 100, PACK: 270/270, COMPR: 100%, REC: 100%, RES: 100%
Note: Compiling: F-Sy-H.plugin.zshโฆ OK.
Installed 1 completions. They are stored in $INSTALLED_COMPS array.
Downloading z-shell/H-S-MWโฆ
Cloning into '/home/xeno/.zi/plugins/z-shell---H-S-MW'...
โนโธโนโนโน โโโโโโโโโโโ OBJ: 100, PACK: 42/42, COMPR: 100%, REC: 100%, RES: 100%
Note: Compiling: H-S-MW.plugin.zshโฆ OK.
Downloading sbinbin/git-dsf;bin/diff-so-fancyโฆ
Cloning into '/home/xeno/.zi/plugins/sbinbin---git-dsf;bin---diff-so-fancy'...
remote: Not Found
fatal: repository 'https://github.com/sbinbin/git-dsf;bin/diff-so-fancy/' not found
Clone failed (code: 128).
Downloading z-shell/zsh-diff-so-fancyโฆ
Cloning into '/home/xeno/.zi/plugins/z-shell---zsh-diff-so-fancy'...
โ โโโโโโโโโโโ OBJ: 100, PACK: 59/59, COMPR: 100%, REC: 100%, RES: 100%
Cloning into '/home/xeno/.zi/plugins/z-shell---zsh-diff-so-fancy/diff-so-fancy'...
โ โโโโโโโโโโโ OBJ: 100, PACK: 2258/2258, COMPR: 100%, REC: 100%, RES: 100%
Cloning into '/home/xeno/.zi/plugins/z-shell---zsh-diff-so-fancy/diff-so-fancy/test/bats'...
โ โโโโโโโโโโโ OBJ: 100, PACK: 5584/5584, COMPR: 100%, REC: 100%, RES: 100%
Cloning into '/home/xeno/.zi/plugins/z-shell---zsh-diff-so-fancy/diff-so-fancy/test/test_helper/bats-assert'...
โ โโโโโโโโโโโ OBJ: 100, PACK: 466/466, COMPR: 100%, REC: 100%, RES: 100%
Cloning into '/home/xeno/.zi/plugins/z-shell---zsh-diff-so-fancy/diff-so-fancy/test/test_helper/bats-support'...
โ โโโโโโโโโโโ OBJ: 105, PACK: 105/105, COMPR: 100%, RE
zi for \
z-shell/z-a-meta-plugins \
z-shell/z-a-default-ice \
@z-shell \
@z-shell2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.