ZPLUG-ON(5)

✨ ZPLUG-ON(5) ✨

the zplug manual, but make it a group chat πŸ’…

okay bestie, this is the page for zplug-on β€” and yes it's the zplug manual, section 5, so pull up a chair 🫢


🌸 NAME 🌸

zplug-on β€” Dependencies. literally that's it, that's the whole vibe πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

zplug "username/reponame", on:another_user/another_repo

okay so when we say package (and we're gonna say it a lot), we mean a string in exactly this format:

"username/reponame"

that's the shape. that's the assignment. no cap πŸ’–


πŸ’œ DESCRIPTION πŸ’œ

so here's the tea: with the on tag you get to manage your repository dependencies. putting

zplug "a/b", on:"c/d"

means a/b depends on c/d. that's it! a/b said "i am not showing up to the function unless c/d is there" 😭 and zplug respects that.

⭐ Table 1. zplug on tag ⭐

  • Possive Values (yes, that's what the original says, we keep it πŸ’€) β€” (package)
  • Default value β€” (none)

🧚 changing the default 🧚

bestie you can also switch up the default value with the zstyle command:

$ zstyle ":zplug:tag" on "~/.zsh"

obsessed with the flexibility honestly ✨


πŸ”₯ EXAMPLES πŸ”₯

πŸ’… Group dependencies πŸ’…

so you want b4b4r07/emoji-cli to ride in only after stedolan/jq has entered the chat? here's how:

$ zplug "stedolan/jq", \
    from:gh-r \
    as:command, \
    rename-to:jq
$ zplug "b4b4r07/emoji-cli", \
    on:"stedolan/jq"

the way that second one just waits for the first one… main character energy, fr fr πŸ‘‘


🌈 SEE ALSO 🌈


πŸ¦‹ FURTHER DOCUMENTATION πŸ¦‹

go check the references on the official wiki page to get started with zplug. fair warning though β€” the wiki may perhaps be overwhelming for first-time users πŸ™ˆ so maybe hydrate first, take a breath, you got this πŸ’–


πŸ‘‘ AUTHORS πŸ‘‘

zplug was originally written by Masaki Ishiyama (a.k.a @b4b4r07). many people have contributed to it 🫢 so many hands, so much slay ✨


πŸŽ€ COPYING πŸŽ€

Copyright (C) 2015-2016 Masaki Ishiyama

MIT License


πŸ“ REPORTING BUGS πŸ“

found a bug? report bugs to the zplug issues β€” the maintainers wanna know, ngl πŸ’€πŸ›


πŸ’‘ tiny reminder bestie: the on tag is doing real dependency work here, so if your package needs a friend to exist first, say it. don't let it show up alone to the party.

and that's the page, mwah πŸ’… this was the zplug manual, and the date on it was 11/21/2016 β€” yes, we're keeping the date, history is history πŸ“… periodt. πŸ’–

πŸ“¦ where this page comes from