host: Complete with known hosts.

This commit is contained in:
Ville Skyttä 2013-02-02 20:21:43 +02:00
parent 23a049a801
commit eb0be65d63

View File

@ -68,7 +68,10 @@ _host()
if [[ $cur == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
return
fi
_known_hosts_real "$cur"
} &&
complete -F _host host