#Grunt Plugin Installer
##Installation
Put script in .bash_profile or .bash_aliases
##Usage
###Install one plugin
gi contrib-concat
###Install multiple plugins
gi contrib-concat reloadr markx
gi() { | |
if [ $# -eq 1 ]; then | |
npm i -D grunt-$* | |
else | |
local IFS=,; | |
eval npm i -D grunt-{"$*"}; | |
fi | |
} |
#Grunt Plugin Installer
##Installation
Put script in .bash_profile or .bash_aliases
##Usage
###Install one plugin
gi contrib-concat
###Install multiple plugins
gi contrib-concat reloadr markx