From ddecaf534aeb20c50c2df5d3baf0527ddff8b673 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 23 Sep 2016 14:41:09 -0400 Subject: [PATCH] I hate node; don't force global installs --- functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions b/functions index ca9cc30..d85f37a 100644 --- a/functions +++ b/functions @@ -50,3 +50,7 @@ function run { done fi } + +function npm-exec { + (PATH=$(npm bin):$PATH; eval $@;) +}