[Bash-completion-commits] [SCM] bash-completion branch, master, updated. d5d7592169945a965870254682c40ee2294dbd65

Freddy Vulto fvulto at gmail.com
Wed Jan 6 08:32:13 UTC 2010


The following commit has been merged in the master branch:
commit d5d7592169945a965870254682c40ee2294dbd65
Author: Freddy Vulto <fvulto at gmail.com>
Date:   Wed Jan 6 09:31:31 2010 +0100

    Fix _known_hosts_real: awkcurd > curd

diff --git a/bash_completion b/bash_completion
index e047674..6a4b7a1 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1360,7 +1360,7 @@ _known_hosts_real()
             # dont fork any processes, because in a cluster environment,
             # there can be hundreds of hostkeys
             for i in "${khd[@]}" ; do
-                if [[ "$i" == *key_22_$awkcurd*.pub && -r "$i" ]]; then
+                if [[ "$i" == *key_22_$curd*.pub && -r "$i" ]]; then
                     host=${i/#*key_22_/}
                     host=${host/%.pub/}
                     COMPREPLY=( "${COMPREPLY[@]}" $host )

-- 
bash-completion



More information about the Bash-completion-commits mailing list