aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-07-26 15:29:03 +0200
committerMathias Bynens <mathias@qiwi.be>2012-07-26 15:29:03 +0200
commitff3392333d3656d7a35dc6d898153671963db48b (patch)
treeb3cd114b6acf9b166ab40e7910a0022e3c2ae271 /.aliases
parent050b7ca66449b04c948dc072ef69a30af117904b (diff)
downloaddotfiles-ff3392333d3656d7a35dc6d898153671963db48b.tar.gz
dotfiles-ff3392333d3656d7a35dc6d898153671963db48b.tar.bz2
dotfiles-ff3392333d3656d7a35dc6d898153671963db48b.zip
.aliases: Make `update` update `npm` and its installed packages as well
Diffstat (limited to '.aliases')
-rw-r--r--.aliases4
1 files changed, 2 insertions, 2 deletions
diff --git a/.aliases b/.aliases
index 52a588d..c933cf6 100644
--- a/.aliases
+++ b/.aliases
@@ -41,8 +41,8 @@ export LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40
# 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'
+# Get OS X Software Updates, and update Homebrew, npm, and their installed packages
+alias update='sudo softwareupdate -i -a; brew update; brew upgrade; npm update npm -g; npm update -g'
# IP addresses
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"