Man pages sections > man5 > zplug-from

zplug-from - Specify the service from which you install

ZPLUG-FROM(5) ZPLUG Manual ZPLUG-FROM(5)

NAME

zplug-from - Specify the service from which you install

SYNOPSIS

zplug "username/reponame", from:plugin
 
The word ´package´ refers to the string in the format: "username/reponame".

DESCRIPTION

By using from tag, you can choose whether the package you want to install will be installed as the plugin or as the command.
 
 
Table 1. zplug from tag
Possive Values Default value
github, bitbucket, gh-r, gist, oh-my-zsh, local github
 
 
Besides, by using zstyle command, you can change default value:
 
 
$ zstyle ":zplug:tag" from local

EXAMPLES

Install from oh-my-zsh:
 
$ zplug "plugins/git", \
    as:plugin, \
    from:oh-my-zsh
 
Install from gist:
 
$ zplug "b4b4r07/79ee61f7c140c63d2786" \
    as:command, \
    from:gist
 
Install from local:
 
$ zplug "~/.zsh/plugins/brew" \
    from:local, \
    use:"*.sh"

SEE ALSO

zplug(1)

FURTHER DOCUMENTATION

See the references in official wiki page to get started using zplug. The wiki may perhaps be overwhelming for first-time users.

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
11/21/2016 ZPLUG Manual