diff --git a/contrib/dhclient b/contrib/dhclient index 0b466d75..49497f72 100644 --- a/contrib/dhclient +++ b/contrib/dhclient @@ -17,7 +17,7 @@ have dhclient && _dhclient() return 0 ;; -s) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; esac diff --git a/contrib/dsniff b/contrib/dsniff index 93243c44..3561ec5c 100644 --- a/contrib/dsniff +++ b/contrib/dsniff @@ -20,7 +20,7 @@ _arpspoof() return 0 ;; -t) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; esac @@ -28,7 +28,7 @@ _arpspoof() if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '-i -t' -- $cur ) ) else - _known_hosts + _known_hosts_real -h "$cur" fi } && @@ -157,7 +157,7 @@ _sshmitm() if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '-d -I -p' -- $cur ) ) else - _known_hosts + _known_hosts_real -h "$cur" fi } && @@ -276,7 +276,7 @@ _webmitm() if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '-d' -- $cur ) ) else - _known_hosts + _known_hosts_real -h "$cur" fi } && diff --git a/contrib/freeciv b/contrib/freeciv index f01a08de..4e69e364 100644 --- a/contrib/freeciv +++ b/contrib/freeciv @@ -50,7 +50,7 @@ _civclient() return 0 ;; -@(s|-server)) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; esac diff --git a/contrib/gkrellm b/contrib/gkrellm index f044990a..61d961dd 100644 --- a/contrib/gkrellm +++ b/contrib/gkrellm @@ -22,7 +22,7 @@ _gkrellm() return 0 ;; -@(s|-server)) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; esac diff --git a/contrib/heimdal b/contrib/heimdal index 1c0f8476..14b26fc6 100644 --- a/contrib/heimdal +++ b/contrib/heimdal @@ -47,7 +47,7 @@ _ktutil() return 0 ;; -a|--admin-server) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; -r|--realm) diff --git a/contrib/ldapvi b/contrib/ldapvi index 324f548e..e2bde644 100644 --- a/contrib/ldapvi +++ b/contrib/ldapvi @@ -14,7 +14,7 @@ _ldapvi() case "$prev" in -@(h|-host)) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; -@(Y|-sasl-mech)) diff --git a/contrib/munin-node b/contrib/munin-node index 6dee1747..4b49b3a8 100644 --- a/contrib/munin-node +++ b/contrib/munin-node @@ -48,7 +48,7 @@ _munin-update() return 0 ;; --host) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; esac @@ -81,7 +81,7 @@ _munin-node-configure() return 0 ;; --snmp) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; --snmpversion) diff --git a/contrib/ntpdate b/contrib/ntpdate index 3d5f2b34..90c45639 100644 --- a/contrib/ntpdate +++ b/contrib/ntpdate @@ -27,7 +27,7 @@ _ntpdate() COMPREPLY=( $( compgen -W '-4 -6 -b -B -d -Q -q -s -u -v -a\ -e -k -p -o -r -t' -- $cur ) ) else - _known_hosts + _known_hosts_real -h "$cur" fi } && complete -F _ntpdate ntpdate diff --git a/contrib/openldap b/contrib/openldap index 820c4f8c..a53577bb 100644 --- a/contrib/openldap +++ b/contrib/openldap @@ -24,7 +24,7 @@ _ldapsearch() case "$prev" in -h) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; -H) @@ -73,7 +73,7 @@ _ldapaddmodify() case "$prev" in -h) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; -H) @@ -111,7 +111,7 @@ _ldapdelete() case "$prev" in -h) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; -H) @@ -146,7 +146,7 @@ _ldapcompare() case "$prev" in -h) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; -H) @@ -181,7 +181,7 @@ _ldapmodrdn() case "$prev" in -h) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; -H) @@ -216,7 +216,7 @@ _ldapwhoami() case "$prev" in -h) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; -H) @@ -250,7 +250,7 @@ _ldappasswd() case "$prev" in -h) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; -H) diff --git a/contrib/openssl b/contrib/openssl index 39039539..bd5b0a01 100644 --- a/contrib/openssl +++ b/contrib/openssl @@ -84,7 +84,7 @@ _openssl() return 0 ;; -connect) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; -starttls) diff --git a/contrib/postgresql b/contrib/postgresql index cdd3ca14..94b811b8 100644 --- a/contrib/postgresql +++ b/contrib/postgresql @@ -34,7 +34,7 @@ _createdb() case "$prev" in -h|--host) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; -U|--username|-O|--owner) @@ -78,7 +78,7 @@ _dropdb() case "$prev" in -h|--host) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; -U|--username) @@ -117,7 +117,7 @@ _psql() case "$prev" in -h|--host) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; -U|--username) diff --git a/contrib/rdesktop b/contrib/rdesktop index ba941eec..e35b2aaa 100644 --- a/contrib/rdesktop +++ b/contrib/rdesktop @@ -46,7 +46,7 @@ _rdesktop() -A -B -e -E -m -C -D -K -S -T -N -X -a -z -x -P -r \ -0 -4 -5' -- $cur ) ) else - _known_hosts + _known_hosts_real -h "$cur" fi } && diff --git a/contrib/rsync b/contrib/rsync index c7f197fe..86a5c493 100644 --- a/contrib/rsync +++ b/contrib/rsync @@ -87,7 +87,7 @@ _rsync() fi ;; *) - _known_hosts -c -a + _known_hosts_real -c -a -h "$cur" _filedir ;; esac diff --git a/contrib/vpnc b/contrib/vpnc index 73bc0f0b..81971071 100644 --- a/contrib/vpnc +++ b/contrib/vpnc @@ -27,7 +27,7 @@ _vpnc() return 0 ;; --gateway) - _known_hosts + _known_hosts_real -h "$cur" return 0 ;; esac diff --git a/contrib/xm b/contrib/xm index 2de5c9a2..859a0f39 100644 --- a/contrib/xm +++ b/contrib/xm @@ -97,7 +97,7 @@ _xm() _xen_domain_names ;; 3) - _known_hosts + _known_hosts_real -h "$cur" ;; esac ;;