From 958517dcf4210aefffcafa3cc41f4ebb4edd5e36 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Sat, 31 Dec 2011 11:42:42 +0100 Subject: Replace the `server` alias with a function that optionally takes an argument specifying the port number MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inspired by @padolsey’s https://gist.github.com/1525217#gistcomment-71652. --- .aliases | 2 ++ 1 file changed, 2 insertions(+) (limited to '.aliases') diff --git a/.aliases b/.aliases index 951fe69..6175f27 100644 --- a/.aliases +++ b/.aliases @@ -25,6 +25,8 @@ alias undopush="git push -f origin HEAD^:master" alias ip="dig +short myip.opendns.com @resolver1.opendns.com" alias localip="ipconfig getifaddr en1" alias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ && print $1'" + +# Enhanced WHOIS lookups alias whois="whois -h whois-servers.net" # Flush Directory Service cache -- cgit v1.2.3