Scroll to navigation

ZPLUG-CHECK(1) ZPLUG Manual ZPLUG-CHECK(1)

NAME

zplug-check - Return true if all packages are installed, false otherwise

SYNOPSIS

zplug check [--verbose] ["username/reponame"]

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

DESCRIPTION

It’s possible to confirm whether the package is installed. Besides, if no packages are given as the arguments, check command checks whether there is a package that has not been installed.

OPTIONS

--verbose
Be verbose.

EXAMPLES

Installation check:

if ! zplug check --verbose; then
    printf "Install? [y/N]: "
    if read -q; then
        echo; zplug install
    fi
fi

The above code means that the packages will be installed if there is a package that has not been installed.

Installation check from CLI:

$ zplug check --verbose ´some_author/some_repo´
- some_author/some_repo: not installed

SEE ALSO

zplug(1), zplug-status(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