From ff3392333d3656d7a35dc6d898153671963db48b Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Thu, 26 Jul 2012 15:29:03 +0200 Subject: .aliases: Make `update` update `npm` and its installed packages as well --- .aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.aliases') 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" -- cgit v1.2.3