1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 21:58:00 +00:00
prezto/modules/completion
Diego Rabatone Oliveira fbcae356d3 Updating submodules
For the submodules that have some kind of release (tags), they were
updated up to the most recent release. Otherwise, the submodule was
updated to the latest commit.
2018-09-17 16:34:01 -05:00
..
external@955645c22b Updating submodules 2018-09-17 16:34:01 -05:00
init.zsh completion: Compact path to global ssh known hosts file 2018-06-26 13:43:27 -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.