From b289b28054f9f3764ff575b7c2abd6d023cb04cb Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 7 May 2008 19:27:34 +0100 Subject: [PATCH] no need for semicolons at eol --- .zsh/zshrc/20_compsys | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zsh/zshrc/20_compsys b/.zsh/zshrc/20_compsys index 3003f88..76243ca 100644 --- a/.zsh/zshrc/20_compsys +++ b/.zsh/zshrc/20_compsys @@ -48,9 +48,9 @@ zstyle ':completion:*:(all-|)files' ignored-patterns \ '*.bk' '*.bak' '*.old' '*~' '.*.sw?' # populate hosts completion with SSH's known_hosts -local _myhosts; +local _myhosts _myhosts=(${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *}%%,*}) -zstyle ':completion:*' hosts $_myhosts; +zstyle ':completion:*' hosts $_myhosts zstyle -e ':completion:*:approximate:*' max-errors 'reply=($((($#PREFIX+$#SUFFIX)/3)) numeric )' -- 2.39.2