Scroll to navigation

ZPLUG-HOOK-BUILD(5) ZPLUG Manual ZPLUG-HOOK-BUILD(5)

NAME

zplug-hook-build - Commands to run after installation/update

SYNOPSIS

zplug "username/reponame", hook-build:"make install"

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

DESCRIPTION

By using hook-build tag, you can choose whether the package you want to install will be installed as the plugin or as the command.

Table 1. zplug hook-build tag

Possive Values Default value
(shell commands) (none)

Besides, by using zstyle command, you can change default value:

$ zstyle ":zplug:tag" hook-build "echo build"

EXAMPLES

Grant a right to execute:

$ zplug "b4b4r07/79ee61f7c140c63d2786" \

as:command, \
from:gist, \
hook-build:"chmod 755 my_script.sh"

SEE ALSO

zplug(1), zplug-hook-load(5)

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