diff --git a/plugins/cwhois/cwhois.plugin.zsh b/plugins/cwhois/cwhois.plugin.zsh new file mode 100644 index 00000000..cb7ed4d1 --- /dev/null +++ b/plugins/cwhois/cwhois.plugin.zsh @@ -0,0 +1,11 @@ +# IP/ASN lookup by using cymru's whois server +#>whois 8.8.8.8 +#AS | IP | AS Name +#15169 | 8.8.8.8 | GOOGLE - Google Inc., US +#>cwhois as15169 +#AS Name +#GOOGLE - Google Inc., US + +function cwhois() { + whois -h whois.cymru.com "$@" ; +}