diff options
author | Sindre Sorhus <sindresorhus@gmail.com> | 2013-11-15 17:20:35 +0100 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2013-11-18 19:36:58 -0800 |
commit | 6405d98781e3413f7550663710e13842ef5c19ca (patch) | |
tree | 4cff2c26d39426db7904c296633cfdd99f7d7617 /.aliases | |
parent | fca798e72015fd82240e0ac5b3d9186598d29403 (diff) | |
download | dotfiles-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-- | .aliases | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |