diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2013-02-02 20:21:43 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2013-02-02 20:21:43 +0200 |
commit | eb0be65d630e348d8e644fb70d8e2a86b00e3bdc (patch) | |
tree | 1b9cb14fe86701033f352fd670fbccade514a97f | |
parent | 23a049a801a6ce2c86e343710cc0245e003df0cb (diff) | |
download | bash-completion-eb0be65d630e348d8e644fb70d8e2a86b00e3bdc.tar.gz |
host: Complete with known hosts.
-rw-r--r-- | completions/nslookup | 3 |
1 files changed, 3 insertions, 0 deletions
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 |