zplug-hook-load - Commands to run after loading
Contents
Copying
Copyright (C) 2015-2016 Masaki Ishiyama
MIT License
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.
Table1.zplughook-loadtag
┌──────────────────┬───────────────┐
│ PossiveValues │ Defaultvalue │
├──────────────────┼───────────────┤
│ │ │
│ (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"
Further Documentation
See the references in official wiki page to get started using zplug. The wiki may perhaps be overwhelming
for first-time users.
Name
zplug-hook-load - Commands to run after loading
Reporting Bugs
Report bugs to the zplug issues
ZPLUG Manual 11/21/2016 ZPLUG-HOOK-LOAD(5)
See Also
zplug(1), zplug-hook-build(5)
Synopsis
zplug"username/reponame", hook-load:some_command
The word ´package´ refers to the string in the format: "username/reponame".
