iwhois.plugin.zsh 259 B

12345678
  1. # provide a whois command with a more accurate and up to date list of whois
  2. # servers using CNAMES via whois.geek.nz
  3. function iwhois() {
  4. resolver="whois.geek.nz"
  5. tld=`echo ${@: -1} | awk -F "." '{print $NF}'`
  6. whois -h ${tld}.${resolver} "$@" ;
  7. }