aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
authorSindre Sorhus <sindresorhus@gmail.com>2013-11-15 17:20:35 +0100
committerMathias Bynens <mathias@qiwi.be>2013-11-18 19:36:58 -0800
commit6405d98781e3413f7550663710e13842ef5c19ca (patch)
tree4cff2c26d39426db7904c296633cfdd99f7d7617 /.aliases
parentfca798e72015fd82240e0ac5b3d9186598d29403 (diff)
downloaddotfiles-6405d98781e3413f7550663710e13842ef5c19ca.tar.gz
dotfiles-6405d98781e3413f7550663710e13842ef5c19ca.tar.bz2
dotfiles-6405d98781e3413f7550663710e13842ef5c19ca.zip
.aliases: Add `npme`
`npme` is like `npm` except it uses a registry located in Europe, causing it to be much faster for Europeans. See <http://npmjs.eu/> for more information. Closes #284.
Diffstat (limited to '.aliases')
-rw-r--r--.aliases3
1 files changed, 3 insertions, 0 deletions
diff --git a/.aliases b/.aliases
index 99dca7a..b398852 100644
--- a/.aliases
+++ b/.aliases
@@ -144,3 +144,6 @@ alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resource
# Reload the shell (i.e. invoke as a login shell)
alias reload="exec $SHELL -l"
+
+# Faster npm for europeans
+command -v npm > /dev/null && alias npme="npm --registry http://registry.npmjs.eu"