aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-03-26 08:28:50 +0200
committerMathias Bynens <mathias@qiwi.be>2012-03-26 08:28:50 +0200
commitb78d8cfd2f1e003228df9d4331e89e711f03dbec (patch)
treea7f33123c6e4bbc2260565218570222ca6903349 /.aliases
parentbb8de8b9c7dafaf5117a2b9c0b47a434a1077795 (diff)
downloaddotfiles-b78d8cfd2f1e003228df9d4331e89e711f03dbec.tar.gz
dotfiles-b78d8cfd2f1e003228df9d4331e89e711f03dbec.tar.bz2
dotfiles-b78d8cfd2f1e003228df9d4331e89e711f03dbec.zip
.aliases: Add `update` alias
Diffstat (limited to '.aliases')
-rw-r--r--.aliases3
1 files changed, 3 insertions, 0 deletions
diff --git a/.aliases b/.aliases
index 677a3ff..b2d20ce 100644
--- a/.aliases
+++ b/.aliases
@@ -28,6 +28,9 @@ fi
# Enable aliases to be sudo’ed
alias sudo='sudo '
+# Get OS X Software Updates, update Homebrew itself, and upgrade installed Homebrew packages
+alias update='sudo softwareupdate -i -a; brew update; brew upgrade'
+
# IP addresses
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
alias localip="ipconfig getifaddr en1"