aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
Diffstat (limited to '.aliases')
-rw-r--r--.aliases2
1 files changed, 1 insertions, 1 deletions
diff --git a/.aliases b/.aliases
index 73108bd..bdac6b3 100644
--- a/.aliases
+++ b/.aliases
@@ -52,7 +52,7 @@ alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup
# IP addresses
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
-alias localip="ipconfig getifaddr en1"
+alias localip="ipconfig getifaddr en0"
alias ips="ifconfig -a | grep -o 'inet6\? \(addr:\)\?\s\?\(\(\([0-9]\+\.\)\{3\}[0-9]\+\)\|[a-fA-F0-9:]\+\)' | awk '{ sub(/inet6? (addr:)? ?/, \"\"); print }'"
# Enhanced WHOIS lookups