From 6a50a1dbe965c301759f1c5cc4930062ec0e98d5 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 4 Jun 2015 20:34:31 +0200 Subject: [PATCH] alias for installing npm packages from cache --- aliases | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aliases b/aliases index 7e60e7e..1810f4c 100644 --- a/aliases +++ b/aliases @@ -31,4 +31,8 @@ alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo # Show/hide hidden files in Finder alias show="defaults write com.apple.Finder AppleShowAllFiles -bool TRUE && killall Finder" -alias hide="defaults write com.apple.Finder AppleShowAllFiles -bool FALSE && killall Finder" \ No newline at end of file +alias hide="defaults write com.apple.Finder AppleShowAllFiles -bool FALSE && killall Finder" + +# install npm packages from the cache +# ht: http://soledadpenades.com/2015/05/31/npmoffline-installing-npm-packages-from-the-cache/ +alias npmoffline="npm --cache-min 9999999 "