projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3148665
)
Fix broken variable assignment [Closes: issue1347]
author
Frank Terbeck
<ft@grml.org>
Tue, 31 Mar 2015 17:30:16 +0000
(19:30 +0200)
committer
Frank 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
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
4ad12c6
..
d088f11
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-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