1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-20 07:31:11 +00:00
prezto/modules/autosuggestions/README.md
Indrajit Raychaudhuri ac628c9059 [general] Switch code block formatting to use fence formatting
Changes:
* Indented code block doesn't support syntax highlighting, use fenced
formatting (```) instead for better syntax highlighting
* Wrap commands/functions in backticks
* Typo fixes
2017-07-22 13:11:29 -05:00

1.4 KiB

Autosuggestions

Integrates zsh-autosuggestions into Prezto.

Autosuggestions

Integrates zsh-autosuggestions into Prezto, which implements the Fish shell's autosuggestions feature, where the user can type in any part of a previously entered command and Zsh suggests commands as you type based on history and completions.

If this module is used in conjuncture with the syntax-highlighting module, it must be loaded after it.

If this module is used in conjuncture with the history-substring-search module, it must be loaded after it.

Contributors

New features and bug fixes should be submitted to the zsh-autosuggestions project according to its rules and regulations. This module will be synchronized against it.

Settings

Highlighting

If colors are enabled, autosuggestions will automatically highlight positive results.

To enable highlighting for this module only, add the following line to zpreztorc:

zstyle ':prezto:module:autosuggestions' color 'yes'

To set the query found color, add the following line to zpreztorc:

zstyle ':prezto:module:autosuggestions:color' found ''

Authors

The authors of this module should be contacted via the issue tracker.