ZPLUG-USE(5)
πΈ ZPLUG-USE(5) πΈ
okay so this is a page from the zplug manual bestie, and it's all about the use tag. sit down, grab a boba, we're gonna get you fluent π
β¨ NAME β¨
zplug-use β tell zplug the pattern of the files it should source, or the thing it should slap onto your $PATH
π¦ SYNOPSIS π¦
zplug "username/reponame", use:plugin
real quick, when we say package we mean a string shaped exactly like "username/reponame". that's the whole vibe, no cap.
π DESCRIPTION π
so with the use tag you get to pick which files actually get loaded. you're handing zplug a pattern:
- for a plugin, it's the pattern of the files to source π«Ά
- for a command, it's the relative path from the package root of the file to add to
$PATHπ₯
super handy, like when you're rolling with from:gh-r you can go use:"*darwin*{amd,386}*" and it just works. iconic. if you wanna use extended glob though, scroll down to the later section about setting the zstyle, okurrr? β¨
Table 1. zplug use tag
- Possible values β (file patterns)
- Default value β
*.zsh
and get this, you can change the default with the zstyle command:
$ zstyle ":zplug:tag" use "*.sh"
not me casually rewriting defaults π
π EXAMPLES π
Case of :
$ zplug "b4b4r07/enhancd" \
as:plugin, \
use:"*.sh"
Case of GitHub Release:
$ zplug "peco/peco" \
as:command, \
from:gh-r, \
use:"*darwin*"
π SEE ALSO π
π FURTHER DOCUMENTATION π
peep the references on the official wiki page to get started with zplug. fair warning bestie, the wiki may perhaps be a liiittle overwhelming for first-time users π β you got this tho π
π§ 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. (fr fr, they wanna know π)
and that's the whole page bestie, go source something slay π
okay bye, this was zplug manual, 11/21/2016 edition β mwah π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: zplug 2.4.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms