Skip to content

Complete options from manual pages – press Ctrl-F to start the completer.

License

Notifications You must be signed in to change notification settings

zdharma/zzcomplete

 
 

Repository files navigation

Logo ❮ ZI ❯ Plugin - ZZ Complete

Introduction

Complete options from manual pages – press Ctrl-F to start the completer.

Motivation

The completion of options has drawbacks:

  1. The user has to remember a part of the option he wants to complete.
  2. OR he is forced to read through all the options (listed after TAB).

With ZZ Complete, the user can:

  1. Search in the manual for arbitrary text related to the option.
  2. Then select the option that's located nearby the found text.
  3. Also, the user can read about the possible values of the options and select them too.

Asciicast

You can resize the video like a normal web page, i.e.: with Ctrl/Cmd+plus and Ctrl/Cmd+minus.

asciicast

Instalation

Dependencies

The plugin needs also ZUI plugin and a Zsh that is built with the zsh/curses module.

Manual

Clone the Repository.

git clone https://github.com/z-shell/zzcomplete ~/path/to/zzcomplete

And add the following to your zshrc file.

source ~/path/to/zzcomplete/zzcomplete.plugin.zsh

ZI

Add the following to your zshrc file.

zi light z-shell/zzcomplete

Antigen

Add the following to your zshrc file.

antigen bundle z-shell/zzcomplete

Zgen

Add the following to your .zshrc file in the same place you're doing your other zgen load calls in.

zgen load z-shell/zzcomplete

Oh-My-Zsh

Clone the Repository.

git clone https://github.com/z-shell/zzcomplete.git \
  ~ZSH_CUSTOM/plugins/zzcomplete

And add zzcomplete to your plugin list.

About

Complete options from manual pages – press Ctrl-F to start the completer.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%