diff options
Diffstat (limited to '.functions')
-rw-r--r-- | .functions | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -239,3 +239,10 @@ function unquarantine() { xattr -r -d "$attribute" "$@" done } + +# 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-{"$*"} +} |