8 lines
153 B
Bash
8 lines
153 B
Bash
hosts=(
|
|
$(
|
|
([ -r .ssh/known_hosts ] && awk '{print $1}' .ssh/known_hosts | tr , '\n') | sort -u
|
|
)
|
|
)
|
|
|
|
zstyle ':completion:*' hosts $hosts
|