ZPLUG-CLEAN(1)
π ZPLUG-CLEAN(1) π
okay bestie, welcome to the zplug manual β this one's about zplug-clean, and yes it's exactly as satisfying as it sounds π§Ήβ¨
β¨ NAME β¨
zplug-clean β remove repositories which are no longer managed ποΈπ
πΈ SYNOPSIS πΈ
zplug clean [--force] [--select] ["username/reponame"]
ok so real quick, when we say package we mean a string that looks like this: "username/reponame". that's the whole vibe. that's the unit. iykyk π
π¦ DESCRIPTION π¦
so here's the tea: zplug clean goes into your $ZPLUG_HOME/repos directory and yeets the packages that are installed there but are NOT described in your .zshrc or your zplug config file. like, if it's sitting in repos but nobody's claiming it in your config? it's giving orphan. it's giving unmanaged. it's gotta go π«Ά
and otherwise β meaning, if you feel like it β you can also use it to remove the packages you want to uninstall expressly. your call, bestie, you're the main character here π
π OPTIONE π
yes it says "OPTIONE". we love a quirky spelling era. moving on π
--forceβ forcibly. no vibes check, no asking. by defaultzplug cleanconfirms whether you want to delete by yes/no prompt, but this flag skips all that. straight to the deleting. π--selectβ remove by choosing from the list of installed packages. you get to pick and choose, like a lil menu of your own repos π
π EXAMPLES π
remove the packages that are installed but not described, with the prompt doing its thing:
$ zplug clean
same as above, but no prompt, no waiting, just β¨actionβ¨:
$ zplug clean --force
remove one particular package:
$ zplug clean Β΄some_author/some_repoΒ΄
Remove? (y/N) Β΄~/.zplug/repos/some_author/some_repoΒ΄
see how it shows you the exact path before it commits? iconic behaviour honestly π
π₯ SEE ALSO π₯
π§ FURTHER DOCUMENTATION π§
go look at the references in the official wiki page to get started using zplug. fair warning though β the wiki may perhaps be overwhelming for first-time users π no shame in that, it's a lot. take it slow, sip some water, you got this π
β AUTHORS β
zplug was originally written by Masaki Ishiyama (a.k.a @b4b4r07). many people have contributed to it π«Ά
π COPYING π
Copyright (C) 2015-2016 Masaki Ishiyama
MIT License
π REPORTING BUGS π
report bugs to the zplug issues π
and that's the whole page, bestie!! this was zplug-clean from the ZPLUG Manual, dated 11/21/2016 β go forth and clean responsibly, 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