ZPLUG-HOOK-BUILD(5)
β¨ NAME β¨
zplug-hook-build β the commands you run after installation or update, bestie π
It's a section of the zplug manual (that's the (5) vibe, iykyk).
π SYNOPSIS π
zplug "username/reponame", hook-build:"make install"
Quick vocab check so nobody's lost: the word package means a string in exactly this format β "username/reponame". That's it, that's the whole definition, no cap. π¦
πΈ DESCRIPTION πΈ
Okay so here's the tea β β when you use the hook-build tag, you get to decide whether the package you're installing lands as the plugin or as the command. Your call, your rules, main character energy. π
Table 1. zplug hook-build tag
- Possive Values (yes the typo is canon, we respect the lore π):
(shell commands) - Default value:
(none)
And plot twist β you can also change that default value with the zstyle command:
$ zstyle ":zplug:tag" hook-build "echo build"
Slay. Now your default isn't a whole lot of nothing. β¨
π EXAMPLES π
Grant a right to execute π«Ά:
$ zplug "b4b4r07/79ee61f7c140c63d2786" \
as:command, \
from:gist, \
hook-build:"chmod 755 my_script.sh"
Not me setting up the permissions after the install like a genius. The way that chmod 755 just β¨worksβ¨. π₯
π SEE ALSO π
π§ FURTHER DOCUMENTATION π§
Check the references in the official wiki page to get started with zplug. Lowkey warning though: the wiki may perhaps be overwhelming for first-time users. π You're built different, you'll survive. π
β AUTHORS β
zplug was originally written by Masaki Ishiyama (a.k.a @b4b4r07). Many people have contributed to it β a whole community, fr fr. πΈ
π COPYING π
Copyright (C) 2015-2016 Masaki Ishiyama
MIT License
π REPORTING BUGS π
Report bugs to the zplug issues. Don't suffer in silence bestie, tell the maintainers. π£
Aww okay that's the whole page. Big kiss to the ZPLUG Manual, dated 11/21/2016 β iconic since day one. 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