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