From eb0be65d630e348d8e644fb70d8e2a86b00e3bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 2 Feb 2013 20:21:43 +0200 Subject: [PATCH] host: Complete with known hosts. --- completions/nslookup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/completions/nslookup b/completions/nslookup index 8285ee1a..88af1d5b 100644 --- a/completions/nslookup +++ b/completions/nslookup @@ -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