summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/zsh/zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/user/zsh/zshrc b/user/zsh/zshrc
index 195eaedb..55cf4aa7 100644
--- a/user/zsh/zshrc
+++ b/user/zsh/zshrc
@@ -67,6 +67,8 @@ bindkey '\e ' hist-complete
 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" ]]