Man page - zplug-hook-load(5)
Packages contas this manual
- zplug-hook-build(5)
- zplug-ignore(5)
- zplug-list(1)
- zplug-as(5)
- zplug-depth(5)
- zplug-hook-load(5)
- zplug-rename-to(5)
- zplug-if(5)
- zplug-load(1)
- zplug-status(1)
- zplug-info(1)
- zplug-on(5)
- zplug-clean(1)
- zplug-use(5)
- zplug-frozen(5)
- zplug-at(5)
- zplug-install(1)
- zplug-defer(5)
- zplug-check(1)
- zplug-dir(5)
- zplug(1)
- zplug-update(1)
- zplug-from(5)
- zplug-clear(1)
- zplug-lazy(5)
Package: zplug
apt-get install zplug
apt-get install zplug
Manuals in package:
Documentations in package:
Manual
| ZPLUG-HOOK-LOAD(5) | ZPLUG Manual | ZPLUG-HOOK-LOAD(5) |
NAME
zplug-hook-load - Commands to run after loading
SYNOPSIS
zplug "username/reponame", hook-load:some_command
The word ´package´ refers to the string in the format: "username/reponame".
DESCRIPTION
By using hook-load 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-load tag
| Possive Values | Default value |
| (shell commands) | (none) |
Besides, by using zstyle command, you can change default value:
$ zstyle ":zplug:tag" hook-load "echo load"
EXAMPLES
Grant a right to execute:
$ zplug "b4b4r07/enhancd" \
as:command, \
use:enhancd.sh, \
hook-load:"builtin cd $OLDPWD"
SEE ALSO
zplug(1), zplug-hook-build(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 |