2012-04-13 15:21:50 +00:00
|
|
|
Completion
|
|
|
|
==========
|
|
|
|
|
2012-06-02 21:17:12 +00:00
|
|
|
Loads and configures tab completion and provides additional completions from
|
|
|
|
the [zsh-completions][1] project.
|
2012-04-13 15:21:50 +00:00
|
|
|
|
2012-06-16 12:57:18 +00:00
|
|
|
This module must be loaded **after** the *utility* module.
|
2012-06-01 02:18:18 +00:00
|
|
|
|
2017-07-26 20:16:40 +00:00
|
|
|
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).
|
|
|
|
|
|
|
|
```sh
|
|
|
|
zstyle ':prezto:module:completion:*:hosts' etc-host-ignores \
|
|
|
|
'0.0.0.0' '127.0.0.1'
|
|
|
|
```
|
|
|
|
|
2012-04-13 15:21:50 +00:00
|
|
|
Contributors
|
|
|
|
------------
|
|
|
|
|
2012-05-20 23:03:04 +00:00
|
|
|
Completions should be submitted to the [zsh-completions][1] project according
|
2012-06-02 21:17:12 +00:00
|
|
|
to its rules and regulations. This module will be synchronized against it.
|
2012-05-20 23:03:04 +00:00
|
|
|
|
2012-04-13 15:21:50 +00:00
|
|
|
Authors
|
|
|
|
-------
|
|
|
|
|
2012-05-22 00:18:30 +00:00
|
|
|
*The authors of this module should be contacted via the [issue tracker][2].*
|
2012-04-13 15:21:50 +00:00
|
|
|
|
2012-05-22 00:18:30 +00:00
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
2012-04-13 15:21:50 +00:00
|
|
|
|
2012-05-22 00:18:30 +00:00
|
|
|
[1]: https://github.com/zsh-users/zsh-completions
|
2012-09-03 20:08:39 +00:00
|
|
|
[2]: https://github.com/sorin-ionescu/prezto/issues
|