diff options
author | Rémi Gérard-Marchant <stuff@mitbri.com> | 2014-09-22 02:18:54 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2014-10-18 12:46:44 +0200 |
commit | 128bb08e3ebb0eebfad8fb77ad32fd05c89171a7 (patch) | |
tree | ed3b13ee461779e24ecb7c1313b1934975210549 | |
parent | ad2cceb822aac174528822eb4958dcde4a93d3a7 (diff) | |
download | dotfiles-128bb08e3ebb0eebfad8fb77ad32fd05c89171a7.tar.gz dotfiles-128bb08e3ebb0eebfad8fb77ad32fd05c89171a7.tar.bz2 dotfiles-128bb08e3ebb0eebfad8fb77ad32fd05c89171a7.zip |
.aliases: Update `npm` the right way
`npm install npm -g` is the new recommended way to update npm as specified in the npm-faq at https://github.com/npm/npm/blob/master/doc/misc/npm-faq.md.
Closes #423.
-rw-r--r-- | .aliases | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ alias week='date +%V' alias timer='echo "Timer started. Stop with Ctrl-D." && date && time cat && date' # Get OS X Software Updates, and update installed Ruby gems, Homebrew, npm, and their installed packages -alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup; npm update npm -g; npm update -g; sudo gem update --system; sudo gem update' +alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup; npm install npm -g; npm update -g; sudo gem update --system; sudo gem update' # IP addresses alias ip="dig +short myip.opendns.com @resolver1.opendns.com" |