From: Michael Prokop Date: Mon, 6 Dec 2021 16:08:04 +0000 (+0100) Subject: Merge remote-tracking branch 'origin/github/pr/129' X-Git-Tag: v0.19.1~2 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=6e8ffd2ea9534d91df0f86d6b7d9bc972164cd0e;hp=c979eb86607ba4e7bf66b950314c002aa537f018;p=grml-etc-core.git Merge remote-tracking branch 'origin/github/pr/129' --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 89684e4..22ed162 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -894,7 +894,7 @@ function grmlcomp () { if is42 ; then [[ -r ~/.ssh/config ]] && _ssh_config_hosts=(${${(s: :)${(ps:\t:)${${(@M)${(f)"$(<$HOME/.ssh/config)"}:#Host *}#Host }}}:#*[*?]*}) || _ssh_config_hosts=() [[ -r ~/.ssh/known_hosts ]] && _ssh_hosts=(${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[\|]*}%%\ *}%%,*}) || _ssh_hosts=() - [[ -r /etc/hosts ]] && [[ "$NOETCHOSTS" -eq 0 ]] && : ${(A)_etc_hosts:=${(s: :)${(ps:\t:)${${(f)~~"$(