Add route_delete() command.

This commit is contained in:
Jeff Geerling
2014-02-19 13:59:59 -06:00
parent 3f4ab1aee6
commit 01f6f42d0d
+6 -1
View File
@@ -25,10 +25,15 @@ then
fi
# Route local traffic over ethernet when using certain WiFi networks w/o proxy.
function net_route() {
function route_add() {
sudo route add -net 10.0.0.0/8 -interface en0
}
# Delete the route added above.
function route_delete() {
sudo route delete 10.0.0.0
}
# Git aliases.
alias gs='git status'
alias gc='git commit'