Thesola10 / zsh-comma-assistant

Supercharge your zsh with the true power of Nix!
4 stars 0 forks source link

zsh-comma-assistant

Tighter integration around the comma utility, so you'll (almost) never get a "command not found" error ever again!

This plugin consists of two parts: a command not found handler, and a syntax highlight addon.

See it in action! on asciinema

Dependencies

This plugin requires nix-index to be installed and available in PATH, as well as for the nix-index database to have already been built. It also requires comma (duh) to be installed in PATH.

Syntax highlight

The syntax highlight addon included in this plugin requires zsh-syntax-highlighting.

The highlight addon can be enabled by adding it to the active highlighters:

ZSH_HIGHLIGHT_HIGHLIGHTERS=(main comma)

Configuration

Currently, the following environment variables can be configured to control the behavior of this plugin: