ZPLUG-AS(5)
β¨ NAME β¨
zplug-as β bestie, this is the page where you decide whether your package gets registered as a plugin or as a command π
(Oh also, hi, this is a section 5 page from the ZPLUG Manual, and we're gonna hold hands through it, okay? π«Ά)
πΈ SYNOPSIS πΈ
zplug "username/reponame", as:plugin
The word package refers to the string in the format: "username/reponame".
π DESCRIPTION π
Okay so here's the tea β β by using the as tag, you get to choose whether the package you want to install gets installed as a plugin or as a command. That's it. That's the whole vibe. Your call, your rules, main character energy π
π Table 1. zplug as tag π
Not me putting a table in a group chat, but here are the values you can pass:
- Possible Values β
plugin,command,theme - Default value β
plugin
So if you don't say anything, it just assumes plugin. Lowkey respectful of it honestly π
Also!! (and this is the good part) β by using the zstyle command, you can change that default value yourself:
$ zstyle ":zplug:tag" as command
Periodt. Now command is your new normal β¨
π EXAMPLES π
π As a plugin
$ zplug "b4b4r07/enhancd", \
as:plugin, \
use:enhancd.sh
π As a command
$ zplug "stedolan/jq" \
as:command, \
from:gh-r, \
use:"*darwin*"
π As a theme
$ zplug Β΄themes/appleΒ΄, \
as:theme, \
from:oh-my-zsh
π SEE ALSO π
π FURTHER DOCUMENTATION π
Okay so if you're just getting started with zplug, go peek at the references in the official wiki page. Fr fr it's the move. Though ngl, the wiki may perhaps be overwhelming for first-time users π β you got this tho, iykyk π¦
π AUTHORS π
zplug was originally written by Masaki Ishiyama (a.k.a @b4b4r07). Many people have contributed to it. Legends only π
π COPYING π
Copyright (C) 2015-2016 Masaki Ishiyama
MIT License
π REPORTING BUGS π
Report bugs to the zplug issues π«Ά
okay bestie that's the whole page!! this was ZPLUG Manual, dated 11/21/2016 β go forth and slay your dotfiles, mwah π β¨π
π¦ 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