Fix broken variable assignment [Closes: issue1347]
authorFrank Terbeck <ft@grml.org>
Tue, 31 Mar 2015 17:30:16 +0000 (19:30 +0200)
committerFrank Terbeck <ft@grml.org>
Tue, 31 Mar 2015 17:30:16 +0000 (19:30 +0200)
Reported and fix suggested my Manfred Lotz

etc/zsh/zshrc

index 4ad12c6..d088f11 100644 (file)
@@ -768,7 +768,7 @@ grmlcomp() {
         [[ -r ~/.ssh/known_hosts ]] && _ssh_hosts=(${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[\|]*}%%\ *}%%,*}) || _ssh_hosts=()
         [[ -r /etc/hosts ]] && : ${(A)_etc_hosts:=${(s: :)${(ps:\t:)${${(f)~~"$(</etc/hosts)"}%%\#*}##[:blank:]#[^[:blank:]]#}}} || _etc_hosts=()
     else
-        _ssh_config_hosts()
+        _ssh_config_hosts=()
         _ssh_hosts=()
         _etc_hosts=()
     fi