New upstream version, needs some checking for merge

Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
This commit is contained in:
ncanceill 2014-02-13 10:16:15 +01:00
commit 33c111f4fd
2 changed files with 9 additions and 0 deletions

View file

@ -33,6 +33,7 @@ _1st_arguments=(
'remove:remove a formula'
'search:search for a formula (/regex/ or string)'
'server:start a local web app that lets you browse formulae (requires Sinatra)'
'services:manage background services via launchctl'
'unlink:unlink a formula'
'update:freshen up links'
'upgrade:upgrade outdated formulae'

View file

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