From 164648ce2bb84e4149375e9baf7155fa29b74429 Mon Sep 17 00:00:00 2001 From: Sankara Rameswaran Date: Wed, 2 Mar 2011 17:12:34 +0530 Subject: [PATCH] Custom function. Get external IP. --- custom/ip.zsh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 custom/ip.zsh diff --git a/custom/ip.zsh b/custom/ip.zsh new file mode 100644 index 000000000..20d264749 --- /dev/null +++ b/custom/ip.zsh @@ -0,0 +1,4 @@ +function whatismyip() { + echo `curl http://whatismyip.akamai.com/ -s` +} +