1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prezto/modules/completion
Indrajit Raychaudhuri cd70822994
completion: Compact path to global ssh known hosts file
6 years ago
..
external@2a30b05a5c Updating submodules 7 years ago
README.md [completion] Support ignoring '/etc/hosts' entries in host completion 7 years ago
init.zsh completion: Compact path to global ssh known hosts file 6 years ago

README.md

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.