https://z.digitalclouds.dev | GitHub | Twitter
Asciinema preview
You can resize the video like a normal web page, i.e.: with Ctrl
/Cmd
+plus
and Ctrl
/Cmd
+minus
.
Motivation
Complete options from manual pages – press Ctrl-F to start the completer.
The completion of options has drawbacks:
- The user has to remember a part of the option he wants to complete.
- OR he is forced to read through all the options (listed after TAB).
With ZZ Complete, the user can:
Search in the manual for arbitrary text related to the option.
Then select the option that's located nearby the found text.
Also, the user can read about the possible values of the options and select them too.
Installation
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.
Top comments (0)