summaryrefslogtreecommitdiff
path: root/bash_completion
diff options
context:
space:
mode:
Diffstat (limited to 'bash_completion')
-rw-r--r--bash_completion3
1 files changed, 1 insertions, 2 deletions
diff --git a/bash_completion b/bash_completion
index e563b05b..1ef70305 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1355,8 +1355,7 @@ _known_hosts_real()
[ -r "$configfile" ] &&
config+=( "$configfile" )
else
- for i in /etc/ssh/ssh_config "${HOME}/.ssh/config" \
- "${HOME}/.ssh2/config"; do
+ for i in /etc/ssh/ssh_config ~/.ssh/config ~/.ssh2/config; do
[ -r "$i" ] && config+=( "$i" )
done
fi