aboutsummaryrefslogtreecommitdiffstats
path: root/.functions
diff options
context:
space:
mode:
Diffstat (limited to '.functions')
-rw-r--r--.functions3
1 files changed, 1 insertions, 2 deletions
diff --git a/.functions b/.functions
index d4f1204..40eba72 100644
--- a/.functions
+++ b/.functions
@@ -248,8 +248,7 @@ function unquarantine() {
# Install Grunt plugins and add them as `devDependencies` to `package.json`
# Usage: `gi contrib-watch contrib-uglify zopfli`
function gi() {
- local IFS=,
- eval npm install --save-dev grunt-{"$*"}
+ npm install --save-dev ${*/#/grunt-}
}
# `m` with no arguments opens the current directory in TextMate, otherwise