iwhois.plugin.zsh 141 B

12345
  1. function iwhois() {
  2. resolver="whois.geek.nz"
  3. tld=`echo ${@: -1} | awk -F "." '{print $NF}'`
  4. whois -h ${tld}.${resolver} "$@" ;
  5. }