zsh: use .hosts for hostname completion
Alan Pearce alan@alanpearce.eu
Tue, 08 Dec 2020 19:38:52 +0100
1 files changed, 2 insertions(+), 0 deletions(-)
jump to
M user/zsh/zshrc → user/zsh/zshrc
@@ -67,6 +67,8 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z-_}={A-Za-z_-}' 'r:|=*' 'l:|=* r:|=*' zstyle ':completion:*' completer _expand _complete _match +zstyle -e ':completion:*' hosts 'reply=($(< ~/.hosts))' + # General configuration if [[ $TERM == "dumb" ]]