zstyle ':completion:*' max-errors 1
zstyle :compinstall filename '/home/tfheen/.zshrc'
-if [ -f ~/.ssh/known_hosts ]; then
+if [ -e ~/.ssh/known_hosts ]; then
hosts=(`awk -F "[, ]" '{print $1}' ~/.ssh/known_hosts`)
fi
-if [ -f ~/.ssh/known_hosts2 ]; then
+if [ -e ~/.ssh/known_hosts2 ]; then
hosts=($hosts `awk -F "[, ]" '{print $1}' ~/.ssh/known_hosts2`)
fi
-if [ -f ~/.ssh/config ]; then
+if [ -e ~/.ssh/config ]; then
hosts=($hosts `grep ^Host ~/.ssh/config | sed s/Host\ // | egrep -v '^\*$'`)
fi
if [ "$hosts" ]; then