Skip to content

zpm-zsh/check-deps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helper for zsh plugins, which check dependencies

This plugin will inform the user if some dependencies missing and show instruction for installation.

Now is supported:

  • Debian, Ubuntu and other deb based
  • Arch and derivatives
  • Nodejs
  • Zsh plugins

How to use from plugins

Add to your plugin some of these instructions

# For package managers append to these arrays another item: 
# binary_file@package_for_instalation
# or one element if the name of binary file equal to the package name
DEPENDENCES_ARCH+=( node@nodejs ) 
DEPENDENCES_DEBIAN+=( node@nodejs )
DEPENDENCES_NPM+=( cli-md )

Installation

This plugin depends on zsh-helpres and zsh-colors

If you don't use zpm, install it manually and activate it before this plugin. If you use zpm you don’t need to do anything

Using zpm

Add zpm load zpm-zsh/check-deps into .zshrc

Using oh-my-zsh

Execute git clone https://github.com/zpm-zsh/check-deps ~/.oh-my-zsh/custom/plugins/check-deps. Add check-deps into plugins array in .zshrc

Using antigen

Add antigen bundle zpm-zsh/check-deps into .zshrc

Using zgen

Add zgen load zpm-zsh/check-deps into .zshrc

TODO:

  • Add zsh plugins check

Releases

No releases published

Packages

No packages published

Languages