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 default zplug clean confirms 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