The following commit has been merged in the master branch:
commit bc2d3c9a34a276a53baa6e836b0e171f56a1d97a
Author: Igor Murzov <[email protected]>
Date:   Sat Nov 5 19:51:07 2011 +0300

    _known_hosts_real: Replace "${HOME}" with "~" to make code more compact.

diff --git a/bash_completion b/bash_completion
index e563b05..1ef7030 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

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits

Reply via email to