mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 15:50:09 +00:00
5 lines
141 B
Bash
5 lines
141 B
Bash
function iwhois() {
|
|
resolver="whois.geek.nz"
|
|
tld=`echo ${@: -1} | awk -F "." '{print $NF}'`
|
|
whois -h ${tld}.${resolver} "$@" ;
|
|
}
|