.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.
This commit is contained in:
Sindre Sorhus
2013-11-18 19:36:58 -08:00
committed by Mathias Bynens
parent fca798e720
commit 6405d98781
+3
View File
@@ -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"