680755bbe61b3a6226638b0cb0f982019b1cb387

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

iwhois: remove iwhois plugin

The whois.geek.nz resolver is now dead.

Fixes #7297

Diff

 1diff --git a/plugins/iwhois/README.md b/plugins/iwhois/README.md
 2deleted file mode 100644
 3index 1626b85248a0348acf52a2ca70a366610eeb9090..0000000000000000000000000000000000000000
 4--- a/plugins/iwhois/README.md
 5+++ /dev/null
 6@@ -1,24 +0,0 @@
 7-# iwhois
 8-
 9-Provides a whois command with a more accurate and up-to-date list of whois servers
10-using CNAMES, via [whois.geek.nz](https://github.com/iwantmyname/whois.geek.nz).
11-
12-To use it, add iwhois to the plugins array of your zshrc file:
13-```
14-plugins=(... iwhois)
15-```
16-
17-### Usage
18-
19-The plugin defines the function `iwhois` that takes a domain name as an argument:
20-
21-```
22-$ iwhois github.com
23-   Domain Name: GITHUB.COM
24-   Registry Domain ID: 1264983250_DOMAIN_COM-VRSN
25-   Registrar WHOIS Server: whois.markmonitor.com
26-   Registrar URL: http://www.markmonitor.com
27-   Updated Date: 2017-06-26T16:02:39Z
28-   Creation Date: 2007-10-09T18:20:50Z
29-   ...
30-```
31diff --git a/plugins/iwhois/iwhois.plugin.zsh b/plugins/iwhois/iwhois.plugin.zsh
32deleted file mode 100644
33index 22a75eec1eee75d732921832c7baa36e8c30fe93..0000000000000000000000000000000000000000
34--- a/plugins/iwhois/iwhois.plugin.zsh
35+++ /dev/null
36@@ -1,5 +0,0 @@
37-function iwhois() {
38-    resolver="whois.geek.nz"
39-    tld=`echo ${@: -1} | awk -F "." '{print $NF}'`
40-    whois -h ${tld}.${resolver} "$@" ;
41-}