! has_completion $cmd && complete -o default -A command $cmd
done
- for cmd in dig host mtr nslookup nc netcat nmap p ping ping6 socat \
- telnet t tt \
+ for cmd in dig host mtr nslookup nc netcat nmap p ping ping6 \
+ ssh2 s2 socat telnet t tt \
tcptraceroute tcptraceroute6 tracert tracert6 traceroute traceroute6 \
whois wd wget wget-download wget-m wget-wrapper ww; do
! has_completion $cmd && complete -A hostname $cmd