1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-20 08:31:13 +00:00
prezto/modules/completion
Diego Rabatone Oliveira 3faaffe7e9 Updating submodules
Updating `completition`, prompt `async` and `syntax-highlighting`. All
modules where checkout to their latest tag.
2017-09-06 11:39:43 -07:00
..
external@2a30b05a5c Updating submodules 2017-09-06 11:39:43 -07:00
init.zsh [general] Miscellaneous cleanup and formatting 2017-08-04 13:45:56 -05:00
README.md [completion] Support ignoring '/etc/hosts' entries in host completion 2017-07-26 23:42:34 -05:00

Completion

Loads and configures tab completion and provides additional completions from the zsh-completions project.

This module must be loaded after the utility module.

Settings

Ignore /etc/hosts Entries

To ignore certain entries from static /etc/hosts for host completion, add the following lines in zpreztorc with the IP addresses of the hosts as they appear in /etc/hosts. Both IP address and the corresponding hostname will be ignored during host completion. However, some of the entries ignored from /etc/hosts still might appear during completion because of their presence in ssh configuration or history).

zstyle ':prezto:module:completion:*:hosts' etc-host-ignores \
  '0.0.0.0' '127.0.0.1'

Contributors

Completions should be submitted to the zsh-completions project according to its rules and regulations. This module will be synchronized against it.

Authors

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