The following commit has been merged in the master branch:
commit eb0be65d630e348d8e644fb70d8e2a86b00e3bdc
Author: Ville Skyttä <[email protected]>
Date: Sat Feb 2 20:21:43 2013 +0200
host: Complete with known hosts.
diff --git a/completions/nslookup b/completions/nslookup
index 8285ee1..88af1d5 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
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits