aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2011-12-31 11:42:42 +0100
committerMathias Bynens <mathias@qiwi.be>2011-12-31 11:42:42 +0100
commit958517dcf4210aefffcafa3cc41f4ebb4edd5e36 (patch)
tree6386586884a74f4f90564414acb1adb01277bd5a /.aliases
parent147eff27785380412afb352aa9dc050554887fa0 (diff)
downloaddotfiles-958517dcf4210aefffcafa3cc41f4ebb4edd5e36.tar.gz
dotfiles-958517dcf4210aefffcafa3cc41f4ebb4edd5e36.tar.bz2
dotfiles-958517dcf4210aefffcafa3cc41f4ebb4edd5e36.zip
Replace the `server` alias with a function that optionally takes an argument specifying the port number
Inspired by @padolsey’s https://gist.github.com/1525217#gistcomment-71652.
Diffstat (limited to '.aliases')
-rw-r--r--.aliases2
1 files changed, 2 insertions, 0 deletions
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