mirror of
https://github.com/wahyd4/dotfiles.git
synced 2026-08-25 04:36:07 +10:00
.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:
committed by
Mathias Bynens
parent
fca798e720
commit
6405d98781
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user