Skip to content

Zsh plugin allowing to complete options from manual pages

Notifications You must be signed in to change notification settings

issenn/zzcomplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/zdharma/zzcomplete ~/path/to/zzcomplete

And add the following to your zshrc file.

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

Zplugin

Add the following to your zshrc file.

zplugin light zdharma/zzcomplete

Antigen

Add the following to your zshrc file.

antigen bundle zdharma/zzcomplete

Zgen

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

zgen load zdharma/zzcomplete

Oh-My-Zsh

Clone the Repository.

git clone https://github.com/zdharma/zzcomplete.git \
  ~ZSH_CUSTOM/plugins/zzcomplete

And add zzcomplete to your plugin list.

IRC Channel

Channel #zplugin@freenode is a support place for all author's projects. Connect to: chat.freenode.net:6697 (SSL) or chat.freenode.net:6667 and join #zplugin.

Following is a quick access via Webchat IRC

About

Zsh plugin allowing to complete options from manual pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages