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