aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Gérard-Marchant <stuff@mitbri.com>2014-09-22 02:18:54 +0200
committerMathias Bynens <mathias@qiwi.be>2014-10-18 12:46:44 +0200
commit128bb08e3ebb0eebfad8fb77ad32fd05c89171a7 (patch)
treeed3b13ee461779e24ecb7c1313b1934975210549
parentad2cceb822aac174528822eb4958dcde4a93d3a7 (diff)
downloaddotfiles-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--.aliases2
1 files changed, 1 insertions, 1 deletions
diff --git a/.aliases b/.aliases
index 8549437..16b6fca 100644
--- a/.aliases
+++ b/.aliases
@@ -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"