Permalink
Browse files

Fix `ip` for the new main machine

No ethernet on the Retina means en0 is wireless and en1 is nonexistent.
  • Loading branch information...
1 parent b55e8d8 commit b62bf517abe8f26b82539caa48fd8fbcce3a749d @ymendel committed Aug 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/functions.bash
View
2 system/functions.bash
@@ -5,7 +5,7 @@ grok()
ip()
{
- ifconfig ${1:-en1} | awk '$1 == "inet" { print $2 }'
+ ifconfig ${1:-en0} | awk '$1 == "inet" { print $2 }'
}
wiki()

0 comments on commit b62bf51

Please sign in to comment.