mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
0ea04a6b80
2 changed files with 9 additions and 0 deletions
|
|
@ -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'
|
||||
|
|
|
|||
8
plugins/iwhois/iwhois.plugin.zsh
Normal file
8
plugins/iwhois/iwhois.plugin.zsh
Normal 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} "$@" ;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue