ZPLUG-ON(5)
β¨ ZPLUG-ON(5) β¨
the zplug manual, but make it a group chat π
okay bestie, this is the page for zplug-on β and yes it's the zplug manual, section 5, so pull up a chair π«Ά
πΈ NAME πΈ
zplug-on β Dependencies. literally that's it, that's the whole vibe π¦
π SYNOPSIS π
zplug "username/reponame", on:another_user/another_repo
okay so when we say package (and we're gonna say it a lot), we mean a string in exactly this format:
"username/reponame"
that's the shape. that's the assignment. no cap π
π DESCRIPTION π
so here's the tea: with the on tag you get to manage your repository dependencies. putting
zplug "a/b", on:"c/d"
means a/b depends on c/d. that's it! a/b said "i am not showing up to the function unless c/d is there" π and zplug respects that.
β Table 1. zplug on tag β
- Possive Values (yes, that's what the original says, we keep it π) β
(package) - Default value β
(none)
π§ changing the default π§
bestie you can also switch up the default value with the zstyle command:
$ zstyle ":zplug:tag" on "~/.zsh"
obsessed with the flexibility honestly β¨
π₯ EXAMPLES π₯
π Group dependencies π
so you want b4b4r07/emoji-cli to ride in only after stedolan/jq has entered the chat? here's how:
$ zplug "stedolan/jq", \
from:gh-r \
as:command, \
rename-to:jq
$ zplug "b4b4r07/emoji-cli", \
on:"stedolan/jq"
the way that second one just waits for the first oneβ¦ main character energy, fr fr π
π SEE ALSO π
π¦ FURTHER DOCUMENTATION π¦
go check the references on the official wiki page to get started with zplug. fair warning though β the wiki may perhaps be overwhelming for first-time users π so maybe hydrate first, take a breath, you got this π
π AUTHORS π
zplug was originally written by Masaki Ishiyama (a.k.a @b4b4r07). many people have contributed to it π«Ά so many hands, so much slay β¨
π COPYING π
Copyright (C) 2015-2016 Masaki Ishiyama
MIT License
π REPORTING BUGS π
found a bug? report bugs to the zplug issues β the maintainers wanna know, ngl ππ
π‘ tiny reminder bestie: the on tag is doing real dependency work here, so if your package needs a friend to exist first, say it. don't let it show up alone to the party.
and that's the page, mwah π
this was the zplug manual, and the date on it was 11/21/2016 β yes, we're keeping the date, history is history π
periodt. π
π¦ where this page comes from
- debian bookworm: zplug 2.4.2-2 Β· MIT
- debian trixie: zplug 2.4.2-2 Β· MIT
- nixpkgs unstable: zplug 2.4.2
- ubuntu jammy: zplug 2.4.2-1 Β· MIT
- ubuntu noble: zplug 2.4.2-2 Β· MIT
- ubuntu resolute: zplug 2.4.2-3 Β· MIT
- ubuntu stonking: zplug 2.4.2-3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms