zplug-hook-load(5)

zplug-hook-load5

Commands to run after loading

Usage

zplug "username/reponame", hook-load:some_command
The word ´package´ refers to the string in the format: "username/reponame".

Overview

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 ValuesDefault 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"

Further documentation

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

Copying

Copyright (C) 2015-2016 Masaki Ishiyama

MIT License

Releases

Unchanged in 5 releases since Debian 9 (Stretch).

  1. 9–13

Authors

zplug was originally written by Masaki Ishiyama (a.k.a @b4b4r07). Many people have contributed to it.

Reporting bugs

Report bugs to the zplug issues

From zplug 2.4.2-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.