diff options
author | Mathias Bynens <mathias@qiwi.be> | 2012-07-26 15:29:03 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2012-07-26 15:29:03 +0200 |
commit | ff3392333d3656d7a35dc6d898153671963db48b (patch) | |
tree | b3cd114b6acf9b166ab40e7910a0022e3c2ae271 /.aliases | |
parent | 050b7ca66449b04c948dc072ef69a30af117904b (diff) | |
download | dotfiles-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-- | .aliases | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |