all repos — nixfiles @ addad286acc5149cbe53aa219195a657dfc9247e

System and user configuration, managed by nix and home-manager

zsh: use .hosts for hostname completion

Alan Pearce
commit

addad286acc5149cbe53aa219195a657dfc9247e

parent

175e59df74b5c4d8ce2bffc3b01ff8c7581b0624

1 file changed, 2 insertions(+), 0 deletions(-)

jump to
M user/zsh/zshrcuser/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" ]]